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