DEV Community

Peter Haddad
Peter Haddad

Posted on

Answer: Update fields in nested objects in firestore documents?

According to the link you provided, it says this:

If your document contains nested objects, you can use "dot notation" to reference nested fields within the document when you call update():

Therefore you need to use dot notation to be able to update only one field without overwriting, so like…

Latest comments (0)