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