Know if a data has dependency without deleting it posgresql codeigniter PHP

0

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?

    
asked by Omar Ramirez 26.06.2018 в 23:01
source

0 answers