
It seems that there is a way to get the total number of documents in a collection as shown in picture, how can that be accesed?

On php SDK there is an attribute called total when getting a list.
Eg $documents = listdocuments(...); $total = $documents['total'];

That will not get all of them

https://appwrite.io/docs/models/documentList
it might help

its mentioning same thing

@D5 why it will not get all of them ?

And why is that ?

Because you'll be limit to 5k at most.

That value of Total documents
is pulled from the usages collection
Though it will be nice to access that data from the SDKs.
Recommended threads
- [SOLVED] Access ExecutionStatus of a fun...
I am calling a cloud function from the newest Flutter SDK 20.2.1with the `xasync: false` flag and get the result, but the `execution.status` is not a String and...
- Appwrite isn't accepting the api from se...
Error creating user: AppwriteException: Server Error type: 'general_unknown', response: '{"message":"Server Error","code":500,"type":"general_unknown","versi...
- Subject: Request for temporary quota lif...
Hi Appwrite Team, our nonprofit animal rescue app on Appwrite Cloud is currently throttled due to read‑quota limits, and we need a temporary increase so rescue ...
