Navigation
This version of the documentation is archived and no longer supported.
Reference
>
Query, Update, Projection, and Aggregation Operators
>
$add (aggregation)
$add (aggregation)
¶
$add
¶
Takes an array of one or more numbers and adds them together, returning the sum.
←
$snapshot
$addToSet (aggregation)
→