Trait mentat_sql::QueryBuilder
[−]
[src]
pub trait QueryBuilder { fn push_sql(&mut self, sql: &str); fn push_identifier(&mut self, identifier: &str) -> BuildQueryResult; fn push_typed_value(&mut self, value: &TypedValue) -> BuildQueryResult; fn push_bind_param(&mut self, name: &str) -> BuildQueryResult; fn finish(self) -> SQLQuery; }
Gratefully based on Diesel's QueryBuilder trait: https://github.com/diesel-rs/diesel/blob/4885f61b8205f7f3c2cfa03837ed6714831abe6b/diesel/src/query_builder/mod.rs#L56
Required Methods
fn push_sql(&mut self, sql: &str)
fn push_identifier(&mut self, identifier: &str) -> BuildQueryResult
fn push_typed_value(&mut self, value: &TypedValue) -> BuildQueryResult
fn push_bind_param(&mut self, name: &str) -> BuildQueryResult
fn finish(self) -> SQLQuery
Implementors
impl QueryBuilder for SQLiteQueryBuilder