pub trait FilterDsl<Predicate> {
    type Output;

    // Required method
    fn filter(self, predicate: Predicate) -> Self::Output;
}
Expand description

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.

Required Associated Types§

source

type Output

The type returned by .filter.

Required Methods§

source

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

See the trait documentation.

Implementors§

source§

impl<S, Predicate> FilterDsl<Predicate> for Alias<S>where Self: AsQuery, <Self as AsQuery>::Query: FilterDsl<Predicate>,

§

type Output = <<Alias<S> as AsQuery>::Query as FilterDsl<Predicate>>::Output

source§

impl<T, Predicate> FilterDsl<Predicate> for Twhere T: Table, T::Query: FilterDsl<Predicate>,

§

type Output = <<T as AsQuery>::Query as FilterDsl<Predicate>>::Output

source§

impl<T, U, Ret, Predicate> FilterDsl<Predicate> for DeleteStatement<T, U, Ret>where U: WhereAnd<Predicate>, Predicate: AppearsOnTable<T>, T: QuerySource,

§

type Output = DeleteStatement<T, <U as WhereAnd<Predicate>>::Output, Ret>

source§

impl<T, U, V, Ret, Predicate> FilterDsl<Predicate> for UpdateStatement<T, U, V, Ret>where T: QuerySource, U: WhereAnd<Predicate>, Predicate: AppearsOnTable<T>,

§

type Output = UpdateStatement<T, <U as WhereAnd<Predicate>>::Output, V, Ret>