Struct diesel::pg::PgQueryBuilder
source · pub struct PgQueryBuilder { /* private fields */ }
Available on crate feature
postgres_backend
only.Expand description
The PostgreSQL query builder
Implementations§
Trait Implementations§
source§impl Default for PgQueryBuilder
impl Default for PgQueryBuilder
source§fn default() -> PgQueryBuilder
fn default() -> PgQueryBuilder
Returns the “default value” for a type. Read more
source§impl QueryBuilder<Pg> for PgQueryBuilder
impl QueryBuilder<Pg> for PgQueryBuilder
source§fn push_identifier(&mut self, identifier: &str) -> QueryResult<()>
fn push_identifier(&mut self, identifier: &str) -> QueryResult<()>
Quote
identifier
, and add it to the end of the query being
constructed.source§fn push_bind_param(&mut self)
fn push_bind_param(&mut self)
Add a placeholder for a bind parameter to the end of the query being
constructed.
source§fn push_bind_param_value_only(&mut self)
fn push_bind_param_value_only(&mut self)
Increases the internal counter for bind parameters without adding the
bind parameter itself to the query
Auto Trait Implementations§
impl Freeze for PgQueryBuilder
impl RefUnwindSafe for PgQueryBuilder
impl Send for PgQueryBuilder
impl Sync for PgQueryBuilder
impl Unpin for PgQueryBuilder
impl UnwindSafe for PgQueryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more