How do I add a Subcollection to firestore?

The solution goes: Get the interested document (doc) and then: doc. ref. collection(‘Collection_Name’). add(‘Object_to_be_added’) It is advisable to include a then/catch after the promise.

Sizin İçin Seçtik  How does port Finance work?

Leave a Reply

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