Trait diesel::query_dsl::methods::FilterDsl [−][src]
pub trait FilterDsl<Predicate> { type Output; fn filter(self, predicate: Predicate) -> Self::Output; }
The filter
method
This trait should not be relied on directly by most apps. Its behavior is
provided by QueryDsl
. However, you may need a where clause on this trait
to call filter
from generic code.
Associated Types
type Output
The type returned by .filter
.
Required Methods
Implementors
impl<T, U, Ret, Predicate> FilterDsl<Predicate> for DeleteStatement<T, U, Ret> where
U: WhereAnd<Predicate>,
Predicate: AppearsOnTable<T>, type Output = DeleteStatement<T, U::Output, Ret>;impl<T, U, V, Ret, Predicate> FilterDsl<Predicate> for UpdateStatement<T, U, V, Ret> where
U: WhereAnd<Predicate>,
Predicate: AppearsOnTable<T>, type Output = UpdateStatement<T, U::Output, V, Ret>;impl<T, Predicate> FilterDsl<Predicate> for T where
T: Table,
T::Query: FilterDsl<Predicate>, type Output = Filter<T::Query, Predicate>;