Wie bekomme ich jede ProduktID im Warenkorb von unten Dokument in Mongodb.So erhalten Sie Filialwert Filialdokumente aus Array
{
"_id": ObjectId("572992d6fc8b7a5c613248f6"),
"userId": "0001",
"fname": "Ankur",
"lname": "Vishnoi",
"address1": "Palam",
"city": "New Delhi",
"state": "Delhi",
"pin": 110077,
"cart": [
{
"productId": 8,
"cartQty": 1
},
{
"productId": 2,
"cartQty": 3
},
]
}