Navigation
This version of the documentation is archived and no longer supported.
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)
→