Say that I have a node type, which has a one-to-many relationship with a lot of nodes of another type, which itself has one-to-one relationships with other node types.
Can I make dgraph delete all other nodes of the related node types if I remove a node from the first type? Or rather, simulate the ‘ON DELETE CASCADE’ effect?
Doing it manually seems quite error prone, and could be quite slow due to the need to query all uids before deletion.