Skip to content

Commit 818adbb

Browse files
authored
Update CHANGELOG.md
1 parent 8be737a commit 818adbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
122122
To assist with the above, `sqlx::query_as()` now supports querying directly into tuples (up to 9 elements).
123123

124124
```rust
125-
let values: Vec<(i32, bool)> = sqlx::query("SELECT 1, false")
125+
let values: Vec<(i32, bool)> = sqlx::query_as("SELECT 1, false")
126126
.fetch_all(&mut conn).await?;
127127
```
128128

0 commit comments

Comments
 (0)