Operators start with a '$', so use single quotes!

Array:

  • $in (value needs to be one of the elements of the given array)
  • $nin (not in)
  • $all (value needs to match all elements of the given array)
  • $size (exact size of array)
  • $elemMatch (element in an array matches the specified match expression)