Try it Out
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 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.
$size (aggregation)
←
$meta (aggregation)
$size (aggregation)
→
ON THIS PAGE
Array Aggregation Operators
Report a Problem