Delete all relations when child has been deleted #44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, when a user deletes an entity with "DeleteWithChildren", only the relation between the entity and its children will be deleted. Any relation from another entity to the deleted entity remains.
Also, when a user deletes an entity with the "delete" method, no relation will be deleted, which is ok. But there is currently no method to clean the relationship table.
This is of course not an urgent problem. Used ids won't be used again (normally), therefore any old relation will still be there, but simply unable to resolve and therefore ignored.