Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
16 views

When use two argument or more with where get error

In ORM prisma when using AND, OR in the where clause get error: PrismaClientValidationError: Invalid prisma.order.update() invocation in → 1146 const order = await prisma.order.update({ where: { ...
AMMAR YASIR's user avatar
0 votes
0 answers
5 views

Prisma prismaSchemaFolder Preview Feature Not Working as Expected

I am trying to use multiple Prisma files with Prisma, and I have reviewed everything, including Prisma's own documentation. However, whenever I run npx prisma generate, I get the following error: > ...
Poyraz HANCILAR's user avatar
0 votes
0 answers
44 views

How to Safely Deploy and Migrate a PostgreSQL Prisma Schema to a Production Database with Docker, EC2, and AWS RDS Without Downtime?

I am working on deploying the latest changes from our staging environment to our production environment. We’re using PostgreSQL with Prisma for database management, and our setup involves Docker ...
shidinas's user avatar
0 votes
1 answer
23 views

Line does not start with any known Prisma schema keyword error on Python

I'm trying to implement Prisma for a FastAPI project. I added the Prisma package and the schema.prisma file but when I run prisma validate it throws the error: Environment variables loaded from prisma\...
Jonathan Gómez Pérez's user avatar
-2 votes
0 answers
21 views

Query depth limitation in GraphQL servers [closed]

I'm new to GraphQL and am currently researching query depth limitations across several popular GraphQL servers. Specifically, I’m looking into the following: Apollo GraphQL.js Prisma Hasura Relay I ...
Yaniv Gabay's user avatar
0 votes
0 answers
10 views

How to Retrieve Google OAuth Access Token with NextAuth.js and Prisma in Next.js 14?

I'm building an application using Next.js 14, NextAuth.js, and Prisma ORM. I successfully set up Google OAuth to enable user login with Google, and everything works well. However, I need to retrieve ...
deX's user avatar
  • 1
-3 votes
0 answers
43 views

Does Prisma PostgreSQL Support PgVector? [closed]

I am currently searching for a cloud-managed PostgreSQL database that offers a free tier, ideally suited for a data science project. Specifically, I am looking for support for PgVector, as it is ...
Mohil's user avatar
  • 69
0 votes
0 answers
41 views

Error in Prisma: Unknown argument project_code in prisma.etl_users_project.create() invocation, How to resolve this issue

I’m encountering an error while testing my API in Postman. The error occurs when I try to create a new record in the etl_users_project table using Prisma. Here is the code snippet and the error ...
Vaishnavi Mendre's user avatar
0 votes
2 answers
48 views

Is there an alternative solution GraphQL resolveType for union types?

I want to return different field data types (for byte field string or array) through a single query on Graphql. However, 'Abstract type "GetRecordsWrapper" must resolve to an Object type at ...
HighHill's user avatar
0 votes
0 answers
16 views

Duplicate Key Error When Inserting Large CSV Data in Chunks Using Prisma CreateMany

I'm working on a job to insert records from a CSV file containing over 20k records. Before inserting, I filter the records to get a list of only the new companies that don't already exist in the ...
Ben Jonson's user avatar
1 vote
0 answers
33 views

How to reference an module's type from application which uses this module?

I'm currently developing on monorepo, implementing internal module which has additional features base on nestjs-prisma project structure is as following - apps | |_serviceA | |...
Justin Seo's user avatar
0 votes
0 answers
15 views

How to create deep nested queries in prisma

I am working on generating a specific set of data using prisma and postgresql but I'm struggling with the prisma query to generate this output: [ { title: "Freestyle Fem", ...
mahestro's user avatar
0 votes
0 answers
19 views

Error 500 while deploying Prisma on Vercel

I am deploying my build on Vercel. It is working fine locally but when I build it on Vercel, I am getting an error when I try to access my database through Prisma: "Request failed with status ...
Maxence Hermand's user avatar
0 votes
0 answers
10 views

How to define interface for prisma model

I want to create a function that have arg is prisma model like bellow function functionName(model) { / /do something with this model } how can I add typescript for model without known the list of ...
vy.pham's user avatar
  • 611
0 votes
0 answers
88 views

Uncaught (in promise) PrismaClientValidationError: Invalid client engine type

`been trying for the past few days to setup prisma on deno (Was enamoured by TS out of the box), so i set it all up and went on: this is my schema: datasource db { provider = "sqlite" ...
NinesVoid's user avatar

15 30 50 per page
1
2 3 4 5
257