Navigation
This version has reached end of life on October 2016.
Learn more
about upgrading your version of MongoDB.
Reference
>
Operators
>
Aggregation Pipeline Operators
>
Array Aggregation Operators
Array Aggregation Operators
¶
Name
Description
$size
Returns the number of elements in the array. Accepts a single expression as argument.
←
$meta (aggregation)
$size (aggregation)
→