> -----Original Message-----
> From: ashish.sharma [mailto:[EMAIL PROTECTED] 
>
> There is one more variable _dependentTables, which according 
> to the help will return the tables dependent upon this 
> current table (using the foreign). 
> ... Do i have to manually 
> provide the list of dependent tables?

Right; the $_dependentTables variable allows you to declare tables that
should have a foreign key to this table.  It does not discover this
information automatically.

NOTE: don't use $_dependentTables if you can declare foreign key
constraints in the database instead.  Using the database feature is a
better choice.  You need to specify tables in $_dependentTables _only_
if your database does not support foreign key constraints (for example,
MySQL's MyISAM engine, or SQLite).

Regards,
Bill Karwin

Reply via email to