Can someone show me how to do aggregation with app write. I am using mongodb and I want to know If It possible to use aggregation in app write.
Appwrite doesn't have an aggregation pipeline like MongoDB. This is how you query for documents: https://appwrite.io/docs/databases#querying-documents
That said, we are currently looking into improving the Databases service by adding support for relationships and operations like count, sum, average, etc.
If I have to generate a chart from multiple collection, how will I do it? It doesn't seem to be possoble by looking at the query methods that app write provides.
You would either have to:
- fetch the necessary data and process it client side
- maintain helper/metadata collections with some of the data already
Relationships would be awesome 🥵😍
Make sure to check out https://discord.com/channels/564160730845151244/564160731327758347/1078348914048114799
Recommended threads
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Index for combination of columns
How am i suppposed to apply index so that combination of two columns alwasy remain unique in appwrite table though console
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...