pub fn apply_filter<'a, ST, DB>(
        self,
        mut q: BoxedSelectStatement<'a, ST, T, DB>,
    ) -> BoxedSelectStatement<'a, ST, T, DB>
    where
        T: Table + 'a,
        DB: Backend + 'a,
        Self: BuildFilter<DB>,
        <Self as BuildFilter<DB>>::Ret: AppearsOnTable<T> + QueryFragment<DB> + 'a,
    {
        if let Some(f) = self.into_filter() {
            q = <BoxedSelectStatement<'_, _, _, _> as QueryDsl>::filter(q, f);
        }
        q
    }
/// Apply the filter to a given select statement
///
/// This function will extend the where clause with the given filter expression
/// In case there is already an existing filter the new filter will by connected
/// connected by and
Apply the filter to a given select statement
This function will extend the where clause with the given filter expression
In case there is already an existing filter the new filter will by connected
connected by and
Apply the filter to a given select statement This function will extend the where clause with the given filter expression In case there is already an existing filter the new filter will by connected connected by and
pub fn apply_filter<'a, ST, DB>(
        self,
        mut q: BoxedSelectStatement<'a, ST, T, DB>,
    ) -> BoxedSelectStatement<'a, ST, T, DB>
    where
        T: Table + 'a,
        DB: Backend + 'a,
        Self: BuildFilter<DB>,
        <Self as BuildFilter<DB>>::Ret: AppearsOnTable<T> + QueryFragment<DB> + 'a,
    {
        if let Some(f) = self.into_filter() {
            q = <BoxedSelectStatement<'_, _, _, _> as QueryDsl>::filter(q, f);
        }
        q
    }
pub fn apply_filter < ' a , ST , DB > ( self , mut q : BoxedSelectStatement < ' a , ST , T , DB > , ) -> BoxedSelectStatement < ' a , ST , T , DB > where T : Table + ' a , DB : Backend + ' a , Self : BuildFilter < DB > , < Self as BuildFilter < DB > > :: Ret : AppearsOnTable < T > + QueryFragment < DB > + ' a , { if let Some ( f ) = self . into_filter ( ) { q = < BoxedSelectStatement < ' _ , _ , _ , _ > as QueryDsl > :: filter ( q , f ) ; } q }
Apply the filter to a given select statement
This function will extend the where clause with the given filter expression
In case there is already an existing filter the new filter will by connected
connected by and
Apply the filter to a given select statement This function will extend the where clause with the given filter expression In case there is already an existing filter the new filter will by connected connected by and
self
q
BoxedSelectStatement<'a, ST, T, DB>