Skip to content

Does prisma 2 support group by, and complex queries ? #2095

Answered by ryands17
al-ani asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @al-ani

1- Prisma 1 does not support "Group By", so does Prisma 2 support now?

As for aggregations, you can track the issue here

2- Does Prisma 2 support complex query?, like this below query.

Regarding sub-queries, you can follow this answer given here that shows how you can perform sub-queries via select and include.
We will be adding that to the docs soon and you can follow that issue here

Do let me know if this solves your query :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aymannav6
Comment options

Answer selected by jharrell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants