MongoDB request DSL • opensavvy.ktmongo.dsl.aggregation.stages • SetStageOperators • setIf
setIf¶
Replaces the value of a field with the specified value
, if condition
is true
.
If condition
is false
, this operator does nothing.
External resources¶
Replaces the value of a field with the specified value
, if condition
is true
.
If condition
is false
, this operator does nothing.
External resources¶
Replaces the value of a field with the specified value
, if condition
is true
.
If condition
is false
, this operator does nothing.
External resources¶
Replaces the value of a field with the specified value
, if condition
is true
.
If condition
is false
, this operator does nothing.
External resources¶
Replaces the value of a field with the specified value
, if condition
is true
.
If condition
is false
, this operator does nothing.
External resources¶
Replaces the value of a field with the specified value
, if condition
is true
.
If condition
is false
, this operator does nothing.