You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: error returned from database: syntax error at or near ","
--> src/main.rs:31:5
|
31 | / sqlx::query!(32 | | r#"INSERT INTO users (uid, username, email, birthdate, is_active) VALUES (?,?,?,?,?)"#,
33 | | uid.to_string(),
34 | | "xxxxx",
... |
37 | | true38 | | )
| |_____^
|
= note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
sqlx = { version = "0.7", features = [ "runtime-tokio", "postgres", "time", "uuid" ] }
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Beta Was this translation helpful? Give feedback.
All reactions