Benjamin
04/18/2021, 2:08 AMimport { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
const nodes = await prisma.node.createMany({
data: [
]
})
I'm using prisma client 2.21.2. And when I specify it as a preview feature in schema.prisma it just tells me not to.
The error I'm getting is Property 'createMany' does not exist on type 'NodeDelegate<RejectOnNotFound | RejectPerOperation | undefined>'Felipe Belinassi
04/18/2021, 4:52 AM