sqlite3builder 0.1.1

Simple SQL code generator.

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

Examples:

extern crate sqlite3builder;

use sqlite3builder::Sqlite3Builder;

let sql = Sqlite3Builder::select_from("COMPANY")
.field("id")
.field("name")
.and_where("SALARY > 25000")
.sql();

assert_eq!(Ok("SELECT id, name FROM COMPANY WHERE SALARY > 25000;"), sql.as_ref());