aggregate

Function aggregate 

Source
pub async fn aggregate(
    configuration: &Configuration,
    params: AggregateParams,
) -> Result<AggregationResponse, Error<AggregateError>>
Expand description

Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.