sqlx::query().bind()
is not binding the values in my query
#2695
Answered
by
wezm
Sammyalhashe
asked this question in
Questions
-
I am trying to run a simple query: |
Beta Was this translation helpful? Give feedback.
Answered by
wezm
Jan 8, 2024
Replies: 1 comment 1 reply
-
In postgres you have to use $1, $2 etc for bind params. https://www.postgresql.org/docs/16/sql-prepare.html See also the note on bind:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Sammyalhashe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In postgres you have to use $1, $2 etc for bind params. https://www.postgresql.org/docs/16/sql-prepare.html See also the note on bind: