Introduction

When you execute an aggregation with the run() function, it returns a Promise that resolves to a WixDataAggregateResult object, which contains the aggregated values.

Did this help?