There was an error while loading. Please reload this page.
1 parent 8be737a commit 818adbbCopy full SHA for 818adbb
CHANGELOG.md
@@ -122,7 +122,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
122
To assist with the above, `sqlx::query_as()` now supports querying directly into tuples (up to 9 elements).
123
124
```rust
125
- let values: Vec<(i32, bool)> = sqlx::query("SELECT 1, false")
+ let values: Vec<(i32, bool)> = sqlx::query_as("SELECT 1, false")
126
.fetch_all(&mut conn).await?;
127
```
128
0 commit comments