postgres-syntax 0.5.1

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");
}