sql-forge 0.4.6

Proc-macro combining compile-time SQL validation with a runtime QueryBuilder for dynamic queries using named parameters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
error[E0609]: no field `price` on type `BatchName`
  --> tests/sqlite/tmp-ui/batch_wrong_item_field_names.rs:10:13
   |
10 |       let _ = sql_forge!(
   |  _____________^
11 | |         "INSERT INTO products (name, price) VALUES {(:name, :price)}",
12 | |         ..items
13 | |     );
   | |_____^ unknown field
   |
   = note: this error originates in the macro `sql_forge` (in Nightly builds, run with -Z macro-backtrace for more info)