Edit data
Read moreHow do I update firestore fields?
Update a document
Read moreHow do I append on firestore?
3 Answers. If your document contains an array field, you can use arrayUnion() and arrayRemove() to add and remove elements. arrayUnion() adds elements to an array but only elements not already present. arrayRemove() removes all instances of each given element.
Read more