hasura / hasura/graphql-engine

Count distinct value using group by

Open
#8,317 0 comments 0 reactions 0 assignees View on GitHub
k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Is your proposal related to a problem?
I want to create a reaction system, and for better performance on the frontend, I want to count how many **distinct** value existed in a post

### Describe the solution you'd like
I have used this SQL Query
image

And the result is
image

### If the feature is approved, would you be willing to submit a PR?
Maybe not.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.