Skip to content

[WIP] feat(query-generator): Generate INSERTs using bind parameters - #8923

Closed
gazoakley wants to merge 1 commit into
sequelize:masterfrom
gazoakley:feat-insert-bind
Closed

gazoakley wants to merge 1 commit into
sequelize:masterfrom
gazoakley:feat-insert-bind

Conversation

@gazoakley

Copy link
Copy Markdown
Contributor

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

This provides very basic support for using bind parameters when generating INSERT queries. Known issues:

  • Doesn't currently work with SequelizeMethod
  • No support for bulk inserts
  • Expects MySQL support for bind parameters (pending another PR)

Hopefully I can fix this up soon, but review comments are welcome!

@gazoakley

Copy link
Copy Markdown
Contributor Author

Updated in #9371

@gazoakley gazoakley closed this Apr 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant