filter array request mongodb code example
Example 1: mongodb filter include all other fields
use $addFields instead of $project
Example 2: find string element in an array mongodb
db.articles.find({
"stock.country" : "01",
"stock.warehouse.code" : "02"
}).pretty();