Join the conversation
Join Slack
Channels
graphql-nexus
job-board
madewithprisma
mongodb
orm-help
prisma-client
prisma-data-platform
prisma-go-community
prisma-in-production
prisma-jobs
prisma-migrate
prisma-studio
prisma-whats-new
prisma1-community
prismaday
prismaserverless
product-wishlist
random
Powered by Linen
Title
z
zaksingh
09/17/2017, 10:49 PM
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
ameistad
09/17/2017, 11:10 PM
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
zaksingh
09/18/2017, 12:59 AM
Thanks!
what is
__PAT__
?
oh permanent auth token