From 136b51b01942bbc2007dc6658bfb95853f09440e Mon Sep 17 00:00:00 2001 From: Austin Bonander Date: Thu, 30 Jan 2020 03:34:59 -0800 Subject: [PATCH] README: specify `query!()` works at compile-time --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a909f2c..c1b855f3 100644 --- a/README.md +++ b/README.md @@ -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