-
Notifications
You must be signed in to change notification settings - Fork 867
Postgres @named parameters don't always work #605
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
Comments
I'm not sure why, but the Long term, I think I'm going to regret adding the |
Sorry if this is digging up something that got settled in #71, but I wish the syntax was psql --variable "param=1" -f queries.sql database Unsure if using that syntax would help with the parsing problem here. |
@maxhawkins The |
If
|
Based on https://github.com/kyleconroy/sqlc/blob/master/docs/named_parameters.md
@foo
andsqlc.arg(foo)
are identical. However:results in
The
@foo
form doesn't get recognized in this scenario.The text was updated successfully, but these errors were encountered: