[][src]Trait diesel::query_dsl::methods::FilterDsl

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.

Loading content...

Required methods

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

See the trait documentation.

Loading content...

Implementors

impl<T, Predicate> FilterDsl<Predicate> for T where
    T: Table,
    T::Query: FilterDsl<Predicate>, 
[src]

type Output = Filter<T::Query, Predicate>

impl<T, U, Ret, Predicate> FilterDsl<Predicate> for DeleteStatement<T, U, Ret> where
    U: WhereAnd<Predicate>,
    Predicate: AppearsOnTable<T>, 
[src]

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>, 
[src]

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

Loading content...