📜  collection get firesotre - 任何代码示例

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

代码示例2
async getMarker() {
    const snapshot = await firebase.firestore().collection('events').get()
    return snapshot.docs.map(doc => doc.data());
}