Hacker News new | ask | show | jobs
by tossandthrow 333 days ago
Funny, I use prisma and pothos, with p99 at below 50ms - no N+1

(when it is not lower, then it is because there are sec framework and other fields that might not be mapped directly do the prisma schema)

1 comments

Doesn't prisma do many sql features like distinct... In memory?
Yes, but you can use the `nativeDistinct` preview feature rely on the DB to perform the operation.

You can see the related issue with more info:

https://github.com/prisma/prisma/issues/23846