I would like to know if there is a way to know if one data has dependence on another without deleting it. I explain
if we use delete from and this data has dependency, it does not allow us to delete.
but I need to use a logical deletion 1-0 and I need to know if the data has dependence to erase it or not.
is there any way with php to do it?