mongodb match by array any values code example
Example: find string element in an array mongodb
db.articles.find({
"stock.country" : "01",
"stock.warehouse.code" : "02"
}).pretty();
db.articles.find({
"stock.country" : "01",
"stock.warehouse.code" : "02"
}).pretty();