No, the simple answer is: no, there is no shortcut.
You either write statements DELETEto delete all related rows in related tables, or you define foreign key constraints with ON DELETE CASCADE.
Note that - if there are no circular paths in the foreign key relationship, you can use one statement DELETEthat removes from several tables:
DELETE a, b, c, d
FROM a
LEFT JOIN b ON b.a_id = a.a_id
LEFT JOIN c ON c.a_id = a.a_id
LEFT JOIN d ON d.b_id = b.b_id
WHERE
a.a_id = 1 ;
source
share