This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Calculates the average value across all items in the group based on the specified expression.
The avg() method refines the aggregation pipeline to calculate the average value of the specified expression across all items in the group.
Expression to calculate the group's average value. The expression must resolve to a number. Learn more about using expressions in aggregation pipelines.
Field to store the result in.
Learn more about field keys.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.