-
Hello, i've got a little problem. I want to get some user by ID, i use
|
Beta Was this translation helpful? Give feedback.
Answered by
mehcode
Feb 11, 2024
Replies: 1 comment
-
Please refer to https://docs.rs/sqlx/latest/sqlx/macro.query.html#query-arguments Note that each database has its own method of query arguments. Given the error message, my guess is you're using Postgres and want to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mehcode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please refer to https://docs.rs/sqlx/latest/sqlx/macro.query.html#query-arguments
Note that each database has its own method of query arguments. Given the error message, my guess is you're using Postgres and want to use
$1
instead.