Learn
Drivers
Downloads
Community
Blog
OPTIONS
Version
Select Version
3.0 (current)
2.6
2.4
2.2
Formats
HTML
PDF
EPUB
Contribute
Report a Problem
Edit on Github
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)
→
ON THIS PAGE
$add (aggregation)
Report a Problem