Struct diesel::mysql::MysqlQueryBuilder
source · [−]pub struct MysqlQueryBuilder { /* private fields */ }
Available on crate feature
mysql_backend
only.Expand description
The MySQL query builder
Implementations
Trait Implementations
sourceimpl Default for MysqlQueryBuilder
impl Default for MysqlQueryBuilder
sourcefn default() -> MysqlQueryBuilder
fn default() -> MysqlQueryBuilder
Returns the “default value” for a type. Read more
sourceimpl QueryBuilder<Mysql> for MysqlQueryBuilder
impl QueryBuilder<Mysql> for MysqlQueryBuilder
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn 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 Read more
Auto Trait Implementations
impl RefUnwindSafe for MysqlQueryBuilder
impl Send for MysqlQueryBuilder
impl Sync for MysqlQueryBuilder
impl Unpin for MysqlQueryBuilder
impl UnwindSafe for MysqlQueryBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
Convert self
to an expression for Diesel’s query builder. Read more
sourcefn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
Convert &self
to an expression for Diesel’s query builder. Read more