Extra features such as sum and group are needed for Appwrite Query. Is there a plan for this or could these features come in future versions?
Or how can I solve these problems like creating a view in the database?
Hi,
You might want to see this https://github.com/appwrite/appwrite/discussions/3545 It is hard to say the exact time when we introduce new queries but you can leave your thoughts here.
For now you can use sum() from listDocuments, which is capped at 5000.
If you need exact count, you can write a function that runs every t minutes, and it paginates over all the documents. That will give you exact count.
Recommended threads
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Delete on cascade from Cloud Function
I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion...
- 1.9.6 Console handles all array columns ...
When creating or updating a row in the appwrite 1.9.6 web console, the form treats all list columns as a type string. Even if the column is a list of booleans, ...