[fix] query usage in postgres ITs

This commit is contained in:
Vlad Stepanov 2020-03-01 13:31:29 +03:00
parent 0656c880cc
commit a3160d2bae

View file

@ -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?;