Skip to content

Tag: firebase

What is the typeof of a QuerySnapshot?

With firebase, you can get documents in a collection like this: const collectionData = await collectionPath.get(); using collectionData, you can loop with: The above code makes collectionData behave like an array of documents. However, you can still treat it like an object by calling things like size? e.g col…