Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Soft delete & include - Prisma
P
Prisma
•
17mo ago
max
Soft delete & include
I recently impemented soft
-delete with prisma ClientExtentions and it works wonderfully
, but
:
When handling relational joins I cannot simply add a
{where: {isDeleted: false}}
{where: {isDeleted: false}}
to every
include
include
statement with a deep patch function
, cause to
-one relations dont have
where
where
.
Is there a generic way to add a where statement to every include
?
Prisma
Join
The official Discord server of Prisma! Find us online at prisma.io
9,819
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Soft Delete with Nestjs
P
Prisma / help-and-questions
15mo ago
soft delete with unique constraint
P
Prisma / help-and-questions
10mo ago
Nestjs Prisma Client Extension for Soft Delete in v7 with type-safety
P
Prisma / help-and-questions
4mo ago
where inside include
P
Prisma / help-and-questions
2y ago