How to use prisma updateMany/upsert in order to update multiple data with one database query?
I am using postgresql data with prisma as ORM, I have a table name product and I wanted to use upsert to store data inside it. It will not create data as I am filtering it before using this.
Best practice for creating a model with optionals
I have a model called User with the following fields –
Prisma findMany using where and include fails to filter correctly
Using Prisma 4.15, NestJS 10.0.2, PostgreSQL 14
How to manage relations in DTO with Nestjs and Prisma
I have two models in Prisma: User
i UserInfo
. I am also using class-validator
and class-transformer
if it matters.
listen to any create/update/delete event on Prisma client and take action
I am looking for a way to be aware of any create/update/delete when called from Prisma client with all of args passed:
Update Prisma Client use middleware with Prisma Extension
Using NestJS with Prisma (Postgres)
How to create category with subcategory nestjs, prisma, postgresql or recursive relationships with prisma?
when I want to create a category and subcategory I always get an error