aggregate() protected method
Performs the aggregation for the given column.
| protected integer aggregate ( $column, $operator, $db ) | ||
|---|---|---|
| $column | string |
Column name. |
| $operator | string |
Aggregation operator. |
| $db | yii\mongodb\Connection |
The database connection used to execute the query. |
| return | integer |
Aggregation result. |
Please login to continue.