How do I add elements to an array in firestore?

When it comes to the official documentation regarding how to update elements in an array in Firestore, it says that: 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.

Sizin İçin Seçtik  Is Shiba Inu crypto a good investment?

Leave a Reply

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