-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add ability to prepend query comments #5289
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
Add ability to prepend query comments #5289
Conversation
I fixed a bug with cockroachdb as ids are not numeric. It should be fine now. I'll squash commit later. |
@francois2metz Can you please send documentation PR to https://github.com/knex/documentation? |
@kibertoad Hi! I created the documentation PR: knex/documentation#450 |
5de6b94
to
0c0a4f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems ok for me ! Thanks and sorry for the delay
c4b5b2f
to
3890007
Compare
Co-authored-by: François de Metz <francois@2metz.fr>
3890007
to
2b35c73
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My team would love to have this PR in (with postgres added). If it's possible to get this in, we can write up a pr for adding in postgres.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update types here and I will merge it:
https://github.com/knex/knex/blob/master/types/index.d.ts
Very excited for this! Any ETA on when a new version will be released? |
This is a rebased and updated version of #2815 that fixes #1982.
About parameter binding, I did tried to escape them, but I doesn't works for mysql. So I forbidden any ?.