The Wayback Machine - https://web.archive.org/web/20201115062814/https://github.com/knex/knex/issues/4068
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

batchInsert fix return type in typings #4068

Open
maximelkin opened this issue Oct 19, 2020 · 0 comments
Open

batchInsert fix return type in typings #4068

maximelkin opened this issue Oct 19, 2020 · 0 comments

Comments

@maximelkin
Copy link
Collaborator

@maximelkin maximelkin commented Oct 19, 2020

Environment

Knex version: latest
Database + version: any
OS: any

Select applicable template from below.
If issue is about oracledb support, tag @ atiertant. For MSSql tag @ smorey2.
Rest of dialects don't need tags.
If issue is about TypeScript definitions, tag @lorefnon.

Bug

  1. Explain what kind of behaviour you are getting and how you think it should do
    knex.batchInsert as for documentation returns knex.QueryBuilder
    actually it is Promise & {returning, transacting}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.