
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
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
- Google OAuth2 Login Gets Stuck in Redire...
I'm facing an issue with the Google OAuth2 login flow on my Flutter Android app using the Appwrite SDK. After a successful sign-in with Google, the browser ente...
- Facebook OAuth with Appwrite Cloud fails...
I’m integrating Facebook login in my Flutter app using Appwrite Cloud. Google OAuth works fine, but I’m stuck with Facebook. Here’s what happens: When I log i...
