Trait diesel::query_builder::QueryBuilder [] [src]

pub trait QueryBuilder {
    fn push_sql(&mut self, sql: &str);
    fn push_identifier(&mut self, identifier: &str) -> BuildQueryResult;
    fn push_bound_value(&mut self, tpe: &NativeSqlType, binds: Option<Vec<u8>>);
}

Apps should not need to concern themselves with this trait.

This is the trait used to actually construct a SQL query. You will take one of these as an argument if you're implementing Expression or QueryFragment manually.

Required Methods

fn push_sql(&mut self, sql: &str)

fn push_identifier(&mut self, identifier: &str) -> BuildQueryResult

fn push_bound_value(&mut self, tpe: &NativeSqlType, binds: Option<Vec<u8>>)

Implementors