📌  相关文章
📜  javascript firestore autoID - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:30.383000             🧑  作者: Mango

代码示例1
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" });