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
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard
- Paused project can't activate
I have failed to reactivate one my projects which had been paused