groupBy method
Groups the result by values in expressions
.
An optional having
attribute can be set to exclude certain groups.
Implementation
void groupBy(Iterable<Expression> expressions, {Expression<bool>? having}) {
_groupBy = GroupBy._(expressions.toList(), having);
}