DennisLBCOriginal post
Rank 2: Process
Not sure if I am missing something dumb here but I want to grab every single document in a collection that has 200 documents but no matter what I do I only ever get 25.
Plain text
databaseId: AppWriteConstants.databaseId, collectionId: AppWriteConstants.collectionId, );```
I am trying to test something and if it works I won't actually need to be doing this cause instead of doing this each time on the client I will just create a summary file that has the details I need and set that from a server function. But I never realized there was this limitation?Summary
Issue: Developer is only able to retrieve 25 documents from a collection using listDocuments despite expecting 200.
Solution: This limitation is due to the default limit set by the function. To retrieve all documents, developers can specify the 'limit' parameter with a higher value to fetch all desired documents from the collection.