mongo db fund in array js code example
Example 1: find string element in an array mongodb
db.articles.find({
"stock.country" : "01",
"stock.warehouse.code" : "02"
}).pretty();
Example 2: mongo array
db.inventory.find( { tags: ["red", "blank"] } )