Hi all;
I searched a lot but could not find a way to dump table relations like one-to-one, one-to-many vs in PHP.
Is there a way to handle this issue in PHP?
A result might be:
array(
'tableA' => array(
'one-to-one' => array('tableB', 'tableC'),
'one-to-many' => array('tableD'),
'tableB' => array(
'one-to-one' => array('tableA')
...
)
Any suggestions are much appreciated. Thanks.