Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How can I disconnect a relation by using it's fields? - Prisma
P
Prisma
•
2y ago
•
2 replies
Asleep
How can I disconnect a relation by using it's fields?
I need to disconnect a relation
, but I cannot access the actual relation field due to the way it is setup
.
Let
's say there is a relation called
author
author
, and I only have access to
authorId
authorId
, can I disconnect it by setting
authorId
authorId
to null
/undefined
?
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
Ordering by a nullable relation
P
Prisma / help-and-questions
2y ago
Order by relation field
P
Prisma / help-and-questions
2y ago
I can't disconnect a many-to-many relationship
P
Prisma / help-and-questions
2y ago