aggregate() public method
Generates 'aggregate' command.
| public array aggregate ( $collectionName, $pipelines, $options = [] ) | ||
|---|---|---|
| $collectionName | string |
Collection name |
| $pipelines | array |
List of pipeline operators. |
| $options | array |
Optional parameters. |
| return | array |
Command document. |
Please login to continue.