use project URL
(cargo-release) start next development iteration 0.4.0
(cargo-release) version 0.4.0
Collection of types and helpers for building hopefully correctly escaped SQL queries.
use format_sql_query::*;
println!("SELECT {} FROM {} WHERE {} = {}", Column("foo bar".into()), SchemaTable("foo".into(), "baz".into()), Column("blah".into()), QuotedData("hello 'world' foo"));
// SELECT "foo bar" FROM foo.baz WHERE blah = 'hello ''world'' foo'