how to create array in mongodb code example Example: mongo array db.inventory.find( { tags: ["red", "blank"] } )