postgres-syntax 0.5.0

Compile-time syntax checking of PostgreSQL queries
Documentation
1
2
3
4
5
use postgres_syntax::sql;

fn main() {
  let _ = sql!("SELECT name, email_address FROM user WHERE id = $1 BLARG");
}