« Return to Thread: Zend_DB_Table: delete() won't delete any row in dependent tables

RE: Zend_DB_Table: delete() won't delete any row in dependent tables

by Thomas D.-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

Carlton Gibson wrote:
> > My problem is, that when I call $driverTable->doSth(1278), the row
> > in the driver's table will be deleted, but it won't delete any rows
> > in cars.
> >
> > Did I miss something?
>
> Yes. The cascading write options ONLY work via the Row object.

Thank you, too. That was the problem.


--
Regards,
Thomas


 « Return to Thread: Zend_DB_Table: delete() won't delete any row in dependent tables