Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

Array Aggregation Operators

Name Description
$size Returns the number of elements in the array. Accepts a single expression as argument.