|
I'm not sure how to resolve this bug: let download_attempt_db = sqlx::query_as!(DownloadAttempt, "select * from gtfs.static_download_attempts WHERE file_hash::BIGINT = ?;").fetch_all(pool).await;I can't seem to make it work despite the query being valid in SQLx. THe compiler message is also not really helpful. |
Answered by
kylerchin
Jan 25, 2024
Replies: 1 comment
|
I fixed it by using $1 and by fixing the types in the migration file. Discussion closed. |
0 replies
Answer selected by
kylerchin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I fixed it by using $1 and by fixing the types in the migration file. Discussion closed.