pub struct AnsiSqlArrayComparison;Expand description
Indicates that this backend requires a single bind
per array element in IN() and NOT IN() expression
Trait Implementations§
source§impl Clone for AnsiSqlArrayComparison
impl Clone for AnsiSqlArrayComparison
source§fn clone(&self) -> AnsiSqlArrayComparison
fn clone(&self) -> AnsiSqlArrayComparison
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AnsiSqlArrayComparison
impl Debug for AnsiSqlArrayComparison
source§impl<T, U, DB> QueryFragment<DB, AnsiSqlArrayComparison> for In<T, U>where
DB: Backend<ArrayComparison = AnsiSqlArrayComparison> + SqlDialect,
T: QueryFragment<DB, NotSpecialized>,
U: QueryFragment<DB, NotSpecialized> + MaybeEmpty,
impl<T, U, DB> QueryFragment<DB, AnsiSqlArrayComparison> for In<T, U>where
DB: Backend<ArrayComparison = AnsiSqlArrayComparison> + SqlDialect,
T: QueryFragment<DB, NotSpecialized>,
U: QueryFragment<DB, NotSpecialized> + MaybeEmpty,
source§fn walk_ast<'b>(&'b self, out: AstPass<'_, 'b, DB>) -> Result<(), Error>
fn walk_ast<'b>(&'b self, out: AstPass<'_, 'b, DB>) -> Result<(), Error>
Walk over this
QueryFragment for all passes. Read moresource§fn to_sql(
&self,
out: &mut <DB as Backend>::QueryBuilder,
backend: &DB
) -> Result<(), Error>
fn to_sql(
&self,
out: &mut <DB as Backend>::QueryBuilder,
backend: &DB
) -> Result<(), Error>
Converts this
QueryFragment to its SQL representation. Read moresource§fn collect_binds<'b>(
&'b self,
out: &mut <DB as HasBindCollector<'b>>::BindCollector,
metadata_lookup: &mut <DB as TypeMetadata>::MetadataLookup,
backend: &'b DB
) -> Result<(), Error>
fn collect_binds<'b>(
&'b self,
out: &mut <DB as HasBindCollector<'b>>::BindCollector,
metadata_lookup: &mut <DB as TypeMetadata>::MetadataLookup,
backend: &'b DB
) -> Result<(), Error>
Serializes all bind parameters in this query. Read more
source§impl<ST, I, DB> QueryFragment<DB, AnsiSqlArrayComparison> for Many<ST, I>where
DB: Backend<ArrayComparison = AnsiSqlArrayComparison> + HasSqlType<ST> + SqlDialect,
ST: SingleValue,
I: ToSql<ST, DB>,
impl<ST, I, DB> QueryFragment<DB, AnsiSqlArrayComparison> for Many<ST, I>where
DB: Backend<ArrayComparison = AnsiSqlArrayComparison> + HasSqlType<ST> + SqlDialect,
ST: SingleValue,
I: ToSql<ST, DB>,
source§fn walk_ast<'b>(&'b self, out: AstPass<'_, 'b, DB>) -> Result<(), Error>
fn walk_ast<'b>(&'b self, out: AstPass<'_, 'b, DB>) -> Result<(), Error>
Walk over this
QueryFragment for all passes. Read moresource§fn to_sql(
&self,
out: &mut <DB as Backend>::QueryBuilder,
backend: &DB
) -> Result<(), Error>
fn to_sql(
&self,
out: &mut <DB as Backend>::QueryBuilder,
backend: &DB
) -> Result<(), Error>
Converts this
QueryFragment to its SQL representation. Read moresource§fn collect_binds<'b>(
&'b self,
out: &mut <DB as HasBindCollector<'b>>::BindCollector,
metadata_lookup: &mut <DB as TypeMetadata>::MetadataLookup,
backend: &'b DB
) -> Result<(), Error>
fn collect_binds<'b>(
&'b self,
out: &mut <DB as HasBindCollector<'b>>::BindCollector,
metadata_lookup: &mut <DB as TypeMetadata>::MetadataLookup,
backend: &'b DB
) -> Result<(), Error>
Serializes all bind parameters in this query. Read more
source§impl<T, U, DB> QueryFragment<DB, AnsiSqlArrayComparison> for NotIn<T, U>where
DB: Backend<ArrayComparison = AnsiSqlArrayComparison> + SqlDialect,
T: QueryFragment<DB, NotSpecialized>,
U: QueryFragment<DB, NotSpecialized> + MaybeEmpty,
impl<T, U, DB> QueryFragment<DB, AnsiSqlArrayComparison> for NotIn<T, U>where
DB: Backend<ArrayComparison = AnsiSqlArrayComparison> + SqlDialect,
T: QueryFragment<DB, NotSpecialized>,
U: QueryFragment<DB, NotSpecialized> + MaybeEmpty,
source§fn walk_ast<'b>(&'b self, out: AstPass<'_, 'b, DB>) -> Result<(), Error>
fn walk_ast<'b>(&'b self, out: AstPass<'_, 'b, DB>) -> Result<(), Error>
Walk over this
QueryFragment for all passes. Read moresource§fn to_sql(
&self,
out: &mut <DB as Backend>::QueryBuilder,
backend: &DB
) -> Result<(), Error>
fn to_sql(
&self,
out: &mut <DB as Backend>::QueryBuilder,
backend: &DB
) -> Result<(), Error>
Converts this
QueryFragment to its SQL representation. Read moresource§fn collect_binds<'b>(
&'b self,
out: &mut <DB as HasBindCollector<'b>>::BindCollector,
metadata_lookup: &mut <DB as TypeMetadata>::MetadataLookup,
backend: &'b DB
) -> Result<(), Error>
fn collect_binds<'b>(
&'b self,
out: &mut <DB as HasBindCollector<'b>>::BindCollector,
metadata_lookup: &mut <DB as TypeMetadata>::MetadataLookup,
backend: &'b DB
) -> Result<(), Error>
Serializes all bind parameters in this query. Read more
impl Copy for AnsiSqlArrayComparison
Auto Trait Implementations§
impl RefUnwindSafe for AnsiSqlArrayComparison
impl Send for AnsiSqlArrayComparison
impl Sync for AnsiSqlArrayComparison
impl Unpin for AnsiSqlArrayComparison
impl UnwindSafe for AnsiSqlArrayComparison
Blanket Implementations§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> Self::Expressionwhere
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) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
Convert
&self to an expression for Diesel’s query builder. Read more