MongoDB Query Language (MQL) Array Query Operators
Array query operators allow you to perform operations on array fields within your documents. These operators enable you to filter, manipulate, and analyze array data effectively, making it easier to work with complex data structures in your queries.
$all
The $all operator helps finding array documents matching all the elements.
$elemMatch
The $elemmatch operator returns complete array, qualifying criteria with at least one matching array element.
$size
The $size operator is used to query documents where an array field has a specified number of elements.