Array Operators
đź“Ś $all
Matches array fields against an array of elements. All the elements that you are looking for must be in this array field.
đź“Ś $size
We use $size to match documents based on the length of an array.
đź“Ś $elemMatch
This one is used to find one element in an array that match all the criteria specified.
Last updated
Was this helpful?