MongoDB request DSL • opensavvy.ktmongo.dsl.aggregation.operators • ArithmeticValueOperators
ArithmeticValueOperators¶
interface ArithmeticValueOperators : ValueOperators
Operators to arithmetically combine two or more values.
To learn more about aggregation operators, see AggregationOperators
.
Inheritors¶
Properties¶
context
¶
abstract val context:
field
¶
Converts a Kotlin property into a Field
.
Functions¶
abs
¶
The absolute value of a number.
ceil
¶
The smallest integer greater than or equal to the specified value
.
concat
¶
Concatenates two strings together.
div
¶
Divides one aggregation value by another.
Refers to field
as a nested field of the current value.
Refers to field
as a nested field of the current value.
Refers to child
as a nested field of the current field.
floor
¶
The largest integer less than or equal to the specified value
.
get
¶
Refers to a specific item in an array, by its index.
Refers to a specific item in a map, by its name.
minus
¶
Subtracts one aggregation value from another.
of
¶
Refers to a Kotlin value
within an aggregation value
.
Refers to a BsonType within an aggregation value
.
Refers to a field
within an aggregation value
.
Refers to a field
within an aggregation value
.
plus
¶
Sums two aggregation values.
times
¶
Multiplies two or more aggregation values.