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  Yes açılımı nedir?

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  Are Firebase Keys ordered?

Leave a Reply

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