Add Field Separately To Firestore Document


Answer :

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.


Comments

Popular posts from this blog

AspenTech InfoPlus 21 - How To Connect And Query Data

AngularJS $on Event Handler Trigger Order

ANALYZE TABLE..VALIDATE STRUCTURE Runs Forever