I am trying to do a query to return all items in a given collection, but can only seem to find a way to get a single document?
TL;DR
Developers wondering if they can retrieve all docs in a collection with a limit of only 100.
They can use `Query.limit(...)` with `listDocuments` to fetch the desired count.
Darshan Pandya
13 Jan, 2025, 12:06
Use Query.limit(...) with listDocuments, that should return whatever count you need.
D5
13 Jan, 2025, 12:16
Do you really need to fetch all documents at once?