So I have a collection that I am trying to retreive all the data from. There is a total of 77 documents in the collection, this is correctly indicated in the response from the listdocuments query.
However only 23 of my actual documents are retrieved, I suspect this is due to some limitation on the amount of documents that can be returned, if so is there some mechanism like pagination to work around this in the node-appwrite SDK as I have not seen any?
Hi @awenjoyer there is limit of 25 docs per request.
You can always increase it upto 5000 docs per request or you can use pagination to save bandwidth and increase loading speed on your frontend app, and enhance the user experience!
You can use Query.limit(5000)
to retrieve 5000 docs per request, which is max limit in Appwrite cloud.
learn more about Queries here: https://appwrite.io/docs/products/databases/queries
Recommended threads
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Edit ID of an existing collection
Hi there. Is it possible to edit an ID of an existing collection? Right now it looks impossible from AppWrite cloud at least.
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...