Firestore update array

Is there a way to update Firestore array? I am able to update the object but not the items within the array. Are there any more complex examples for all the functions on Firebase nodes?

Get: (works as expected)

Update: (how do we set the object in the the array)

Firestore object:

Hey @markhanson,

Are you trying to update items that are nested in an array? It would help with duplicating the issue if you can share the structure.

Hi @harshil1712 , yes I am trying to update items in an array in Firestore. I don’t have a structure as I don’t know where to start.

Hey @markhanson,

Can you provide dummy data that I can use? Without an example, it would be difficult to replicate the exact scenario and provide a proper solution.