This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Groups items together in an aggregation.
The group()
method refines a WixDataAggregate
so that its items are
grouped by the specified field or fields.
You can perform aggregations on the groups using the following methods:
avg()
count()
max()
min()
sum()
To filter grouped results, use the having()
method.
Notes:
group()
method once per aggregate query.
Field or fields to group on.