mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Making realworld-postgres example compile
This commit is contained in:
parent
f0c88da152
commit
1e5e1eceb4
@ -62,7 +62,7 @@ RETURNING id, username, email
|
||||
"#,
|
||||
body.username,
|
||||
body.email,
|
||||
hash,
|
||||
hash
|
||||
)
|
||||
.fetch_one(&mut tx)
|
||||
.await
|
||||
@ -106,7 +106,7 @@ SELECT username, email
|
||||
FROM users
|
||||
WHERE id = $1
|
||||
"#,
|
||||
user_id,
|
||||
user_id
|
||||
)
|
||||
.fetch_one(&mut pool)
|
||||
.await
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user