Struct diesel::query_builder::where_clause::WhereClause [] [src]

pub struct WhereClause<Expr>(_);

Trait Implementations

impl<DB, Expr> QueryFragment<DB> for WhereClause<Expr> where DB: Backend, Expr: QueryFragment<DB>

fn to_sql(&self, out: &mut DB::QueryBuilder) -> BuildQueryResult

fn collect_binds(&self, out: &mut DB::BindCollector) -> QueryResult<()>

fn is_safe_to_cache_prepared(&self) -> bool

impl<T> QueryId for WhereClause<T> where T: QueryId

type QueryId = WhereClause<T::QueryId>

fn has_static_query_id() -> bool

fn query_id() -> Option<TypeId>

impl<Expr, Predicate> WhereAnd<Predicate> for WhereClause<Expr> where Expr: Expression<SqlType=Bool>, Predicate: Expression<SqlType=Bool>

type Output = WhereClause<And<Expr, Predicate>>

fn and(self, predicate: Predicate) -> Self::Output

impl<'a, DB, Predicate> Into<Option<Box<QueryFragment<DB> + 'a>>> for WhereClause<Predicate> where DB: Backend, Predicate: QueryFragment<DB> + 'a

fn into(self) -> Option<Box<QueryFragment<DB> + 'a>>

Derived Implementations

impl<Expr: Copy> Copy for WhereClause<Expr>

impl<Expr: Clone> Clone for WhereClause<Expr>

fn clone(&self) -> WhereClause<Expr>

1.0.0fn clone_from(&mut self, source: &Self)

impl<Expr: Debug> Debug for WhereClause<Expr>

fn fmt(&self, __arg_0: &mut Formatter) -> Result