Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

prisma bytes

import { PrismaClient, Prisma } from '@prisma/client'

const newTypes = await prisma.sample.create({
  data: {
    myField: Buffer.from([1, 2, 3, 4]),
  },
})
Source by www.prisma.io #
 
PREVIOUS NEXT
Tagged: #prisma #bytes
ADD COMMENT
Topic
Name
5+3 =