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
- Help Needed: "The current user has been ...
Facing a 403 Forbidden error with the message "The current user has been blocked" while trying to log in via GitHub and Email/Password. This is happening on a ...
- Unable to signup to appwrite cloud
When attempting to create an online cloud account on appwrite.io, I get the following message : "This email address must already be in its canonical form. Pleas...
- Email address must be in its canonical f...
Hello, Recently I was trying to signup with my GitHub account with appwrite account for availing the student benifits but while trying to signup I saw such erro...