-
Notifications
You must be signed in to change notification settings - Fork 208
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
Prepared(true) does not work with postgres #427
Comments
We also encountered this issue on our team. |
Try adding
At the top of your file and see if it creates |
Echoing filipencopav, this is generally an issue when you haven't imported the postgres dialect. Goqu falls back to the |
Why is interpolation the default? |
I had the same @filipencopav solution worked |
Describe the bug
When using
.Prepared(true)
it replaces the interpolated arguments with?
, even though Postgres is expecting$1
,$2
, etc.Expected behavior
I expect it to use the correct parameter format.
Dialect:
Additional context
The text was updated successfully, but these errors were encountered: