What is the best way to delete all data related to...
# prisma-whats-new
z
What is the best way to delete all data related to a node? I have a
class
type which contains a bunch of relations. How do I delete the thing on the other side of the relation?
a
Hi, I looked into this myself. graphcool doesn't yet support cascading deletes, but you can use this as a workaround: https://www.graph.cool/forum/t/deleting-associated-nodes-in-a-one-to-many-relationship/551
z
Thanks!
what is
__PAT__
?
oh permanent auth token