Try it Out
Drivers
Downloads
Community
Blog
OPTIONS
Version
Select Version
2.6 (current)
2.4
2.2
Formats
HTML
PDF
EPUB
Contribute
Report a Problem
Edit on Github
Reference
>
Operators
>
Aggregation Framework Operators
>
Conditional Aggregation Operators
Conditional Aggregation Operators
ΒΆ
Name
Description
$cond
A ternary operator that evaluates one expression, and depending on the result returns the value of one following expressions.
$ifNull
Evaluates an expression and returns a value.
$cond (aggregation)
$ifNull (aggregation)
←
$millisecond (aggregation)
$cond (aggregation)
→
ON THIS PAGE
Conditional Aggregation Operators
Report a Problem