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  Halk Eğitim Eğiticinin eğitimi Kursu 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  How does firestore work in flutter?

Leave a Reply

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