how to do search in an array of strings in mongodb 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();