#PrismaClient() thing "An argument for 'options' was not provided."
9 messages · Page 1 of 1 (latest)
Howdy, friend! I'm the Prisma AI Help Bot — fast answers from me, or slow, hand-crafted wisdom from a dev? Choose wisely, adventurer.
You are likely using Prisma 7. You need to pass an adpater while initialising Prisma Client
im pretty sure i did most of the things on the website except this step
and for this script ts is it really necessary? if i alreayd have like a database set up id have to tweak it to my database right? is this just a test?
You would need to use the adapter based on the database you are using, there are adapters for all databases like postgres, mysql, sqlserver etc.
And yes it is necessary to instantiate prisma client with adapter starting with Prisma v7