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
- Bug: Cloud Function On Schedule Didn't R...
Heya I have a cloud function with this cron `0 17 * * *` to run at 9AM PT every day. I have not touched this since I set it up, and it has been working fine s...
- functions
Code for function not being created in Github. Permissions are set correctly, repository is created, however no code is in the created repository. Just trying...
- Error 400: redirect_uri_mismatch
Hi team, Google OAuth was working fine with our Appwrite Cloud setup until yesterday. We did not change any configuration in Appwrite, Google Cloud, or our cod...