How to return just the matched elements from a mongoDB array
问题 I've been looking for this question one week and I can't understand why it still don't work... I have this object into my MongoDB database: { produc: [ { cod_prod: "0001", description: "Ordenador", price: 400, current_stock: 3, min_stock: 1, cod_zone: "08850" }, { cod_prod: "0002", description: "Secador", price: 30, current_stock: 10, min_stock: 2, cod_zone: "08870" }, { cod_prod: "0003", description: "Portatil", price: 500, current_stock: 8, min_stock: 4, cod_zone: "08860" }, { cod_prod: