sfackler/rust-postgres-macros
View on GitHub ↗ ★ 152 Rust
Support macros for Rust-Postgres
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2014-10-29 · latest 2020-01-12
20082026
-
Reminds me of the !sql in rust-postgres-macros: https://github.com/sfackler/rust-postgres-macros#sql With the difference: it uses the PostgreSQL parser, not a generic SQL parser
comment by bwblabs · 2020-01-12 · in Catching SQL errors at build time -
…this for Postgres: https://github.com/sfackler/rust-postgres is the connection/query/etc part, and https://github.com/sfackler/rust-postgres-macros actually links with the postgres query parser to provide compile-time SQL syntax checking.
comment by untothebreach · 2015-06-12 · in Deuterium – Fully typed SQL query builder for Rust -
There's https://github.com/sfackler/rust-postgres-macros for PostgreSQL.
comment by zsiciarz · 2015-06-12 · in Deuterium – Fully typed SQL query builder for Rust -
…be highlighted like Rust: sql!("SELECT * FROM users WHERE name = $1"); is a macro provided by https://github.com/sfackler/rust-postgres-macros , and should be highlighted like SQL, not like a Rust string. sql!("SELECT * FORM users WHERE…
comment by steveklabnik · 2014-10-29 · in A Quick Intro to Rust Macros