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
Alex Ruheni
07/14/2022, 9:57 AM
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.