Data aggregation #2963
Replies: 8 comments 4 replies
-
I think we should follow Prisma and aggregate on the connection. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
This is all I am waiting for. Do you have any roadmap for this. If there is any initial work done on this please share the branch details so that we can understand the details and complexity, thus we can also contribute parallelly. This is what I am looking for link |
Beta Was this translation helpful? Give feedback.
-
any update on that |
Beta Was this translation helpful? Give feedback.
-
This feature is pretty vital to bridge the feature gap between HC and hasura / postgraphile. |
Beta Was this translation helpful? Give feedback.
-
Hi Community |
Beta Was this translation helpful? Give feedback.
-
We are also planning to use this data aggregation feature in our service. Is there any update on the timeline? |
Beta Was this translation helpful? Give feedback.
-
hi @michaelstaib any update on this? |
Beta Was this translation helpful? Give feedback.
-
@PascalSenn started the proposal, we can discuss spec here.
#924
Who all is interested in data aggregation for different data sources?
Entity Framework
MongoDb
Neo4j
Aggregations
Introduction
Aggregations are very useful for querying big data sources. To count items or sum a value, it's not necessary to load all the data. Querying already aggregated data in the backend has less overhead.
Proposal
A new API Endpoint is generated for a collection. The type of this endpoint has different aggregation fields on them.
It will not be possible to cover all aggregation cases. We simply cannot create types for all possible scenarios.
Proposed are the following:
Example Objects
All examples will take place in the following domain:
count
returns the amount of foo's in foos.
sum
returns the sum of all nums.
average
returns the average of all nums.
group_by
Example
How others did it
Prisma (Issue prisma/prisma#1312)
Horsura
Gatsby
### no example found
GraphCMS
### no example found
Beta Was this translation helpful? Give feedback.
All reactions