sqlite3builder 0.1.2

Simple SQL code generator.

Simple SQL code generator. May be used with pooled Sqlite3 connection.

Examples:

extern crate sqlite3builder;

# use std::error::Error;
use sqlite3builder::Sqlite3Builder;

# fn main() -> Result<(), Box<dyn Error>> {
let sql = Sqlite3Builder::select_from("COMPANY")
.field("id")
.field("name")
.and_where("SALARY > 25000")
.sql()?;

assert_eq!("SELECT id, name FROM COMPANY WHERE SALARY > 25000;", &sql);
# Ok(())
# }