pub trait HavingDsl<Predicate> {
    type Output;

    // Required method
    fn having(self, predicate: Predicate) -> Having<Self, Predicate>;
}
Expand description

The having 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 having from generic code.

Required Associated Types§

source

type Output

The type returned by .having.

Required Methods§

source

fn having(self, predicate: Predicate) -> Having<Self, Predicate>

See the trait documentation.

Implementors§

source§

impl<'a, ST, QS, DB, GB, Predicate> HavingDsl<Predicate> for BoxedSelectStatement<'a, ST, QS, DB, GB>where DB: Backend, GB: Expression, HavingClause<Predicate>: QueryFragment<DB> + Send + 'a, Predicate: AppearsOnTable<QS>, Predicate::SqlType: BoolOrNullableBool,

§

type Output = BoxedSelectStatement<'a, ST, QS, DB, GB>

source§

impl<F, S, D, W, O, LOf, G, H, Predicate> HavingDsl<Predicate> for SelectStatement<F, S, D, W, O, LOf, GroupByClause<G>, H>where Predicate: AppearsOnTable<F> + Expression, Predicate::SqlType: BoolOrNullableBool,

§

type Output = SelectStatement<F, S, D, W, O, LOf, GroupByClause<G>, HavingClause<Predicate>, NoLockingClause>