MongoDb update with ElemMatch

I have a collection that has document structure like following: Mongo PlayGround { “basicDetails”: { “id”: “1”, “name”: “xyz” }…

Not able to retrieve data from firebase firestore

I am saving data to firebase successfully But when i try to retrieve it firestore sends “No such document”. Trying to get the array of objects. Here is the db Edit: I found out that in order to access all documents you have to do it this way. It goes into the then block but then querySnapshot.forEach doesnt run Answer Okay so i found the solution.