Hello, should I have one export of PrismaClient() ...
# prisma-client
v
Hello, should I have one export of PrismaClient() from index.ts or create a new one in each file where I want to use prisma?
1
a
Hey Viktor 👋🏾 Welcome to the Prisma Community We recommend having one Prisma Client export in your project to prevent having too many connections which would slow down your database. 🙂 Refer to this page in our docs for further information.
v
Thanks!