Hi, is anyone aware of what best practices are for...
# orm-help
t
Hi, is anyone aware of what best practices are for creating prisma clients with
const prisma = new PrismaClient()
. Should I use one instance for my entire app, one instance per web connection, or one instance per parallel call (ie. assume any Prisma calls are NOT reentrant).
r
I believe it's 1 instance for the entire app
which means you can't do long running queries
Aah - I see this has been answered 😄