Skip to content

Commit 977b381

Browse files
committed
us instead of ?
1 parent 35364e4 commit 977b381

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/any/any.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ async fn it_encodes_decodes_json() -> anyhow::Result<()> {
169169
.await?;
170170

171171
// Insert into the temporary table:
172-
sqlx::query("insert into json_test (data) values (?)")
172+
sqlx::query("insert into json_test (data) values ($1)")
173173
.bind(Json(&json_value))
174174
.execute(&mut conn)
175175
.await?;

0 commit comments

Comments
 (0)