Struct diesel::pg::PgQueryBuilder [] [src]

pub struct PgQueryBuilder {
    pub sql: String,
    pub binds: Binds,
    pub bind_types: Vec<u32>,
    // some fields omitted
}

Fields

sql: String binds: Binds bind_types: Vec<u32>

Methods

impl PgQueryBuilder
[src]

fn new(conn: &Rc<RawConnection>) -> Self

Trait Implementations

impl QueryBuilder<Pg> for PgQueryBuilder
[src]

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

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

fn push_bound_value<T>(&mut self, bind: Option<Vec<u8>>) where Pg: HasSqlType<T>