bsql 0.7.0

Safe SQL for Rust — if it compiles, the SQL is correct
Documentation
1
2
3
4
5
6
7
error: PostgreSQL error: cannot insert multiple commands into a prepared statement
 --> tests/compile_fail/sql_injection.rs:2:13
  |
2 |     let _ = bsql::query!("SELECT 1; DROP TABLE users");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `bsql::query` (in Nightly builds, run with -Z macro-backtrace for more info)