Querying Arrays: One Value, $all and $size

A filter on an array field matches when any item fits, $in matches when any item is one of a list, $all asks for every value in a list, and $size counts the items; an exact array match is rarely what you want.

By

Updated

Cheat sheet: Querying Arrays: One Value, $all and $size
Category
MongoDB
Level
Apprentice
Tags
$all, $in, $size, Array Field, mongodb