README: specify query!() works at compile-time

This commit is contained in:
Austin Bonander 2020-01-30 03:34:59 -08:00 committed by GitHub
parent 5966fae7c5
commit 136b51b019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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