bsql 0.27.0

Safe SQL for Rust — if it compiles, the SQL is correct
Documentation
1
2
3
4
5
6
7
8
9
10
error: nested optional clauses `[[...]]` are not supported — each optional clause must be a flat `[SQL fragment]`
 --> tests/compile_fail/optional_nested_brackets.rs:3:13
  |
3 |       let _ = bsql::query!(
  |  _____________^
4 | |         "SELECT id FROM tickets WHERE 1 = 1 [[AND department_id = $a: Option<i32>]]"
5 | |     );
  | |_____^
  |
  = note: this error originates in the macro `bsql::query` (in Nightly builds, run with -Z macro-backtrace for more info)