aggregate() public method
Performs aggregation using Mongo Aggregation Framework.
public array aggregate ( $pipelines, $options = [] ) | ||
---|---|---|
$pipelines | array |
List of pipeline operators. |
$options | array |
Optional parameters. |
return | array |
The result of the aggregation. |
throws | yii\mongodb\Exception |
on failure. |
Please login to continue.