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
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...
- My projects were deleted
Hello everyone, My projects were for some reason deleted. I got an email informing me about project inactivity, when I clicked to activate it again, it was sil...
- Dotnet functions on cloud
I'm trying to deploy my .Net8 functions to my project on cloud.appwrite through the CLI. I'm getting this error.