Answers for "javascript firestore autoID"

0

javascript firestore autoID

import firebase from "firebase";

// Firebase will add an auto-ID when you leave the .doc() function empty
firebase.firestore().collection("myCollection").doc().set({ key: "value" });
Posted by: Guest on March-15-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language