Using Prisma with NeonDB in serverless env
I am trying to use prisma v7 with neon (will later host on vercel) and I'm wondering if I'm doing things the right way.
here's my current prisma.ts file:
I have also come across this code snippet from https://neon.com/docs/guides/prisma#use-the-neon-serverless-driver-with-prisma
but I have no idea if I need this or not
they also used previewFeatures = ["driverAdapters"] here but idk if that's a thing in primsa v7 becuse the neon prisma docs are pre v7
here's my current prisma.ts file:
I have also come across this code snippet from https://neon.com/docs/guides/prisma#use-the-neon-serverless-driver-with-prisma
but I have no idea if I need this or not
they also used previewFeatures = ["driverAdapters"] here but idk if that's a thing in primsa v7 becuse the neon prisma docs are pre v7
Neon
Prisma is an open source, next generation ORM that lets you to manage and interact with your database. This guide covers the following topics Connect to Neon from Prisma Use connection pooling with Pr...
ORM