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
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Hi Appwrite Support Team,My project has ...
Details: Project ID: 69a69f6f00113ed0e8e4 Region: SFO (sfo.cloud.appwrite.io) Error Response: Affected: ALL endpoints — Functions, Databases, Storage, Health, ...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...