The default behaviour when a parent object is deleted is to make the child object orphans. For related objects to delete if they are not attached to their parent, we can use the cascade
property in the parent class.
The default behaviour when a parent object is deleted is to make the child object orphans. For related objects to delete if they are not attached to their parent, we can use the cascade
property in the parent class.