How do I add documents to firestore code example
Example: How to add document in firebase firestore
// Add a new document in collection "cities"db.collection("cities").doc("LA").set({ name: "Los Angeles", state: "CA", country: "USA"})db.collection('cities').doc('BJ').set({ capital: true}, { merge: true });