Working with BigInt `BigInt` fields are represente...
# orm-help
e
Working with BigInt
BigInt
fields are represented by the `BigInt` type (Node.js 10.4.0+ required). The following example demonstrates how to use the
BigInt
type:
Copy code
import { PrismaClient, Prisma } from '@prisma/client'

const newTypes = await prisma.sample.create({
  data: {
    revenue: BigInt(534543543534),
  },
})