all
Returns the ALL condition that matches everything.
Return
The ALL condition.
Creates an all-in condition for array fields. Matches documents where the specified array field contains all of the given values.
Return
A new all-in condition.
Parameters
field
The array field name to check.
value
The list of values that must all be present in the array.