How do I add a field to an existing document in firestore?

Build a DocumentReference to the document you want to update, then use the update() method on the DocumentReference to indicate only the fields to be added or changed . Pass it an object with only properties that match the fields to add or change.

Sizin İçin Seçtik  ¿Dónde nació Gabriela Rodríguez de bukele?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do I add a field to an existing document in firestore?

Build a DocumentReference to the document you want to update, then use the update() method on the DocumentReference to indicate only the fields to be added or changed . Pass it an object with only properties that match the fields to add or change.

Sizin İçin Seçtik  Is Swift harder than JavaScript?

Leave a Reply

Your email address will not be published. Required fields are marked *