Category "prisma2"

Is it possible to make a join query with Prisma without a foreign key?

I've been struggling with this for a while but with no success. I have two tables that might have a relation but not necessarily. FIRST +----+-----------+------

Is it possible to make a join query with Prisma without a foreign key?

I've been struggling with this for a while but with no success. I have two tables that might have a relation but not necessarily. FIRST +----+-----------+------

Filtering relations with 'include' and 'where'

I'm building a simple todo app where a user can have multiple lists and share them. Here is my Prisma Schema: model users { id String @

Single instance Prisma client autocomplete not working

I have a single instance prisma but it's not auto-completing any queries. const { PrismaClient } = require("@prisma/client"); let prisma; if (process.env.NODE_E

Prisma Issue of managing instances of Prisma Client actively running

I'm new to Prisma and Nodejs I accidentally created lots of instances of Prisma Client that keep displaying the warning of warn(prisma-client) There are already