📌  相关文章
📜  如何删除文档 Firestore 数据库 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:43.412000             🧑  作者: Mango

代码示例1
db.collection("cities").doc("DC").delete().then(() => {
    console.log("Document successfully deleted!");
}).catch((error) => {
    console.error("Error removing document: ", error);
});