title: Simulate DELETE Foreign key check
body: <p>Is there any way to simulate the foreign key check that is happening when running DELETE query?</p>
  <p>Like if you try to delete an object thats referenced in other table you'd get an error while running a DELETE query. But is there a way to query for all the &quot;dependants&quot; of certain row in a certain table?</p>