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
- Help
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...