mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-03 07:45:30 +00:00
Fix escaping test query
This commit is contained in:
parent
3a7fe4da94
commit
c416c94d43
@ -486,7 +486,7 @@ async fn test_from_row_with_rename_all() -> anyhow::Result<()> {
|
|||||||
let mut conn = new::<Postgres>().await?;
|
let mut conn = new::<Postgres>().await?;
|
||||||
|
|
||||||
let account: AccountKeyword = sqlx::query_as(
|
let account: AccountKeyword = sqlx::query_as(
|
||||||
r#"SELECT * from (VALUES (1, 'foo', 'bar')) accounts(\"userId\", \"userName\", \"userSurname\")"#,
|
r#"SELECT * from (VALUES (1, 'foo', 'bar')) accounts("userId", "userName", "userSurname")"#,
|
||||||
)
|
)
|
||||||
.fetch_one(&mut conn)
|
.fetch_one(&mut conn)
|
||||||
.await?;
|
.await?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user