ArithmeticValueAccumulators
Accumulators to perform arithmetic operations.
To learn more about accumulation operators, see AccumulationOperators.
Inheritors
Properties
Functions
Adds a new node as a child of this one.
Adds any number of nodes into this one.
Calculates and returns the collective average of numeric values. Non-numeric values are ignored.
Refers to field as a nested field of the current value.
Refers to child as a nested field of the current field.
Makes this expression immutable.
Refers to a specific item in an array, by its index.
Refers to a specific item in a map, by its name.
Returns an approximation of the median, the 50th percentile, as a scalar value.
Refers to a Kotlin value within an aggregation value.
Refers to a field within an aggregation value.
Refers to a BsonType within an aggregation value.
Returns an approximation of the specified percentiles.
Returns a simplified (but equivalent) expression to the current expression.
Calculates and returns the collective sum of numeric values. Non-numeric values are ignored.
Writes the result of simplifying to a new BsonDocument.
Writes the result of simplifying this expression into writer.