is it possible to do a `groupBy` with `_count: {di...
# prisma-client
m
is it possible to do a
groupBy
with
_count: {distinct: {foo: true}}
? would like to group by DISTINCT someColumn
n
Hey Mischa 👋 Unfortunately, Prisma doesn’t support
groupBy
with Distinct yet. Here’s a Feature Request for the same. If you could leave a 👍 to the request it would help our product and engineering team prioritise it. As of now using queryRaw would be the only option.
m
ok thanks!