having method
Adds an aggregate filter with AND to the existing HAVING clause.
Implementation
Query<R, F> having(Expr<bool?> Function(F) condition) {
final next = condition(queryFields);
return copyQuery(
queryState.copy(having: allOf([?queryState.having, next])),
);
}