Navigation
This version of the manual is no longer supported. 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.