This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Runs the aggregation and returns the results.
The run()
method returns a Promise that resolves to the results found
by the aggregation and some information about the results.
Note: Aggregations can only be used on collections you have created. They cannot be used on Wix app collections.
Options to use when running an aggregation.