Hello I’m using the web client sdk to get a list of all my files in a specific bucket, I get 27 as the total but 25 files in the response am I missing something. Where are the other two files?
This is because of the default Query.limit value, which is set to 25.
You can explicitly mention how many items you want, by using Query.limit(100) or something like that.
const promise = storage.listFiles(
'[BUCKET_ID]',
[ Query.limit(100) ]
);
Reference: https://appwrite.io/docs/queries
[SOLVED] listFiles returns only 25 files
Recommended threads
- Custom Domains with Cloudflare for SaaS ...
Hi! I'm using Appwrite Cloud Sites with Cloudflare for SaaS for multi-tenant custom domains. Problem: Custom domain: donate.pekeetong.my → CNAME to sites.dono...
- [SOLVED] Get Relations when using Tables...
Hi there, I have a table containing a relation column with a one-to-many relationship to another table. When Using TablesDB.GetRow in "node-appwrite" i get all ...
- Appwrite loading issue with Nuxt UI
For some reason when I add nuxt ui to my nuxt 4 project, appwrite will build the project but the project website will load indefinitely. Without adding Nuxt UI,...