sql-forge 0.4.6

Proc-macro combining compile-time SQL validation with a runtime QueryBuilder for dynamic queries using named parameters.
Documentation
error[E0560]: struct `AmountResult` has no field named `id`
  --> tests/sqlite/tmp-ui/multiple_models_static_mismatch.rs:6:13
   |
 6 |       let _ = sql_forge!(
   |  _____________^
 7 | |         (
 8 | |             >user = support::User,
 9 | |             >amount = support::AmountResult,
10 | |         ),
11 | |         "SELECT id, name FROM users LIMIT 1",
12 | |     );
   | |_____^ `AmountResult` does not have this field
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sql_forge` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0560]: struct `AmountResult` has no field named `name`
  --> tests/sqlite/tmp-ui/multiple_models_static_mismatch.rs:6:13
   |
 6 |       let _ = sql_forge!(
   |  _____________^
 7 | |         (
 8 | |             >user = support::User,
 9 | |             >amount = support::AmountResult,
10 | |         ),
11 | |         "SELECT id, name FROM users LIMIT 1",
12 | |     );
   | |_____^ `AmountResult` does not have this field
   |
   = note: all struct fields are already assigned
   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sql_forge` (in Nightly builds, run with -Z macro-backtrace for more info)