MongoDB request DSL • opensavvy.ktmongo.dsl.aggregation.operators • ConditionalValueOperators
ConditionalValueOperators¶
interface ConditionalValueOperators : ValueOperators
Operators to conditionally create a value.
To learn more about aggregation operators, view AggregationOperators
.
Inheritors¶
Properties¶
context
¶
abstract val context:
field
¶
Converts a Kotlin property into a Field
.
Functions¶
cond
¶
Decides between two values
depending on the evaluation of a boolean value.
div
¶
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.
get
¶
Refers to a specific item in an array, by its index.
Refers to a specific item in a map, by its name.
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
.
switch
¶
Selects one value based on multiple conditions.