when to use an array in mongo code example Example: mongo array db.inventory.find( { tags: ["red", "blank"] } )