Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to iterate through multiple Documents returned from Firestore

I am returning a querySnapshot of the documents in a collection however I am looking for a way to manipulate individual fields of each document in the collection however I can figure how to index the data I receive back.

For example I have a collection containing documents with the title of each being the title of the product in the cart. I am trying to go through each of the documents get the Price field from it and save it locally to manipulate. Let me know if I can provide more information.

Comments