mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
[fix] query usage in postgres ITs
This commit is contained in:
parent
0656c880cc
commit
a3160d2bae
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ async fn postgres_chrono_time() -> anyhow::Result<()> {
|
|||
let value = NaiveTime::from_hms_micro(5, 10, 20, 115100);
|
||||
|
||||
let row = sqlx::query!(
|
||||
"SELECT TIME '05:10:20.115100' = $1 AS equality, TIME '05:10:20.115100' AS time"
|
||||
"SELECT TIME '05:10:20.115100' = $1 AS equality, TIME '05:10:20.115100' AS time",
|
||||
value,
|
||||
)
|
||||
.fetch_one(&mut conn)
|
||||
.await?;
|
||||
|
|
Loading…
Reference in a new issue