PrismaP
Prisma10mo ago
4 replies
Min

Hey! I'm seeing some queries taking ages to load when doing select with distinct.

Prisma Client's distinct option does not use SQL SELECT DISTINCT. Instead, distinct uses:
A SELECT query
In-memory post-processing to select distinct
Was this page helpful?