Method |
Description |
|
avg ( mixed | Expr $expression1 ) : Operator |
Returns the average value of the numeric values that result from applying
a specified expression to each document in a group of documents that
share the same group by key. Ignores nun-numeric values. |
|
excludeIdField ( boolean $exclude = true ) |
Shorthand method to exclude the _id field. |
|
getExpression ( ) |
|
|
includeFields ( array $fields ) |
Shorthand method to define which fields to be included. |
|
max ( mixed | Expr $expression1 ) : Operator |
Returns the highest value that results from applying an expression to
each document in a group of documents that share the same group by key. |
|
min ( mixed | Expr $expression1 ) : Operator |
Returns the lowest value that results from applying an expression to each
document in a group of documents that share the same group by key. |
|
stdDevPop ( mixed | Expr $expression1 ) |
Calculates the population standard deviation of the input values. |
|
stdDevSamp ( mixed | Expr $expression1 ) |
Calculates the sample standard deviation of the input values. |
|
sum ( mixed | Expr $expression1 ) : Operator |
Calculates and returns the sum of all the numeric values that result from
applying a specified expression to each document in a group of documents
that share the same group by key. Ignores nun-numeric values. |
|