Edun omatseye
07/11/2022, 4:31 PMBigInt
fields are represented by the `BigInt` type (Node.js 10.4.0+ required). The following example demonstrates how to use the BigInt
type:
import { PrismaClient, Prisma } from '@prisma/client'
const newTypes = await prisma.sample.create({
data: {
revenue: BigInt(534543543534),
},
})