📅  最后修改于: 2022-03-11 14:56:57.533000             🧑  作者: Mango
代码示例2
db.collection("users").get().then((querySnapshot) => {
querySnapshot.forEach((doc) => {
console.log(`${doc.id} => ${doc.data()}`);
});