mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 23:35:20 +00:00
commit
6ab0efb54f
@ -62,7 +62,7 @@ let is_active: bool = row.get("is_active");
|
|||||||
```
|
```
|
||||||
|
|
||||||
The `sqlx::query!` macro prepares the SQL query and interprets the result in order to constrain input types and
|
The `sqlx::query!` macro prepares the SQL query and interprets the result in order to constrain input types and
|
||||||
infer output types. The result of `query!` is an anoymous struct (or named tuple).
|
infer output types. The result of `query!` is an anonymous struct (or named tuple).
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
let countries = sqlx::query!(
|
let countries = sqlx::query!(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user