is there any way to get all document count in any collection , currently its not showing more then 5000.
TL;DR
There is currently an issue on GitHub discussing adding aggregate functions to Appwrite, which would include getting the document count in a collection. You can show your support for this feature by giving it a thumbs up on the GitHub page (link provided). In the meantime, if you need a running total of all documents, you can set up a new collection and create a function with a trigger on document creation to keep track of the total count there.
Kenny
2 Feb, 2024, 15:53
5000 is the max, if you want arunning total of all documents you will have to have a new collection setup and then you can create a function with a trigger on document create and keep the total there.
Kenny
2 Feb, 2024, 15:54
Here is a github issue to add aggregate functions to appwrite,