mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-03 07:45:30 +00:00
README: specify query!()
works at compile-time
This commit is contained in:
parent
5966fae7c5
commit
136b51b019
@ -112,7 +112,7 @@ let is_active: bool = row.get("is_active");
|
||||
|
||||
#### Static
|
||||
|
||||
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 at compile time and interprets the result in order to constrain input types and
|
||||
infer output types. The result of `query!` is an anonymous struct (or named tuple).
|
||||
|
||||
```rust
|
||||
|
Loading…
x
Reference in New Issue
Block a user