The $all operator is used to selects the documents with the value of field is an array that contains all given elements. where the value of a field is an array that contains all the specified elements. This operator behaves like $and operator.  $all syntax is [crayon-5cb8e71333ae4769580412/] [crayon-5cb8e71333af9948957148/] This query will return all documents with