NestJS - Database with Prisma
Which of the following is the correct syntax to create a new user record using Prisma in a NestJS service?
create method is used to add new records in Prisma.this.prisma.user.create({ data: { ... } }) where data holds the new record's fields.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions