Answers for "firestore get all items from a collection"

0

get all documents in collection firestore

async getMarker() {
    const snapshot = await firebase.firestore().collection('events').get()
    return snapshot.docs.map(doc => doc.data());
}
Posted by: Guest on July-26-2021

Code answers related to "firestore get all items from a collection"

Browse Popular Code Answers by Language