-
Notifications
You must be signed in to change notification settings - Fork 18
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
Utility to replace numbered sql parameters #135
Comments
Is it up to the r2dbc plugin to support named parameter to start with and the postgres one doesn't (if so, could we contribute that perhaps)? |
In the end I want to bind with index because that is less lookups when binding parameters. Probably a very minor performance difference, but anyway. |
patriknw
added a commit
that referenced
this issue
Dec 4, 2021
* Replaces `?` with numbered `$1`, `$2` for bind parameters. * Trims whitespace, including line breaks.
patriknw
added a commit
that referenced
this issue
Dec 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To improve the code readability we can implement a small string search and replace utility that replaces
$
with numbered$1
,$2
,$3
.The text was updated successfully, but these errors were encountered: