Struct diesel::sqlite::query_builder::SqliteQueryBuilder
source · pub struct SqliteQueryBuilder { /* private fields */ }
Available on crate feature
sqlite
only.Expand description
Constructs SQL queries for use with the SQLite backend
Implementations§
Trait Implementations§
source§impl Default for SqliteQueryBuilder
impl Default for SqliteQueryBuilder
source§fn default() -> SqliteQueryBuilder
fn default() -> SqliteQueryBuilder
Returns the “default value” for a type. Read more
source§impl QueryBuilder<Sqlite> for SqliteQueryBuilder
impl QueryBuilder<Sqlite> for SqliteQueryBuilder
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 RefUnwindSafe for SqliteQueryBuilder
impl Send for SqliteQueryBuilder
impl Sync for SqliteQueryBuilder
impl Unpin for SqliteQueryBuilder
impl UnwindSafe for SqliteQueryBuilder
Blanket Implementations§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn 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 moresource§fn 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