I have the following schema: (notice the ?) And when I try to insert a null value to that json field I get: ... must not be null. Please use u ...
I have the following schema: (notice the ?) And when I try to insert a null value to that json field I get: ... must not be null. Please use u ...
iam using prima postgres db if you add an extra literal orderCancelled in prisma schema it is asking for creating a new migration , why it behaves l ...
I have comics which has many writers, artists and characters and i'm trying to join everything together in prisma, but struggling to understand what I ...
Given a user id, I want to find the followers that the user follows (i.e. follow each other) My Prisma model looks like the following: I am also i ...
I've an ecommerce project where i was working on filtering the products using prisma query. 1.) http://localhost:3000/products/[category] ---> sho ...
So, I asked this question yesterday and a user on here was kind enough to point me in the right direction when using explicit many-to-many relations i ...
I have the following User and Group models that share a many-to-many relation: model User { id String @id @default(uuid()) ema ...
I'm migrating an existing TypeORM + PostgresQL project from TypeORM to Prisma. This existing project was handling migrations with Flyway: I wrote the ...
Currently working on a project to learn a bit more about prisma with nestjs. But cant get the schema to work. The seed wont go through because the fla ...
The data looks as follows: 13 users with id's 2-13. User 2 got 2 likes, user 10 got 2 likes, user 3 got 1 like. The rest didn't get any likes. Prism ...
I don't even know if it's possible, but I'm trying to create two records simultaneously. Let says I want to create a user and a profile in the same ...
I have a simple API where authenticated users are allowed to perform CRUD operations on videos. The Video model holds a foreign key called creatorId, ...
I'm creating a system where every user has some role. After that, each role contains a list of permissions that drive logic in the application. Prism ...
I'm trying to create a model in Prisma, following the tutorial, which unfortunately doesn't show how to use a wider variety of MongoDB types. I see a ...
schema.prisma file I need help how can I update a post based on 2 conditions? The user id that I get from userId which belongs to user tab and post id ...
I am trying to query the database (Postgres) through Prisma. My query is The error message is Type '{ name: { in: { manufacturers: string; "": ...
I have the following prisma schema I decided to use a self relation for the user model so I can add contacts and query for them in my web app. Quer ...
I am building a serverless function using the serverless framework. However im having an issue with running it locally Error: ENOENT: no such file ...
Trying to query in prisma and filter results from a related object but get the error: Unknown arg 'where' in select.fruit.where for type UserFruit ...
Relevant schema parts. This query fails: Error: I don’t understand why prisma is setting pk on shopifyOfflineStoreSession to null. Can someon ...