Re: [fw-general] about zend_db_table and cascading deletes

2009-02-16 Thread PHPScriptor
william0275 wrote: > > If you call delete() or update() on a Zend_Db_Table, it *won't* use the > dependencies/trigger system. > Yes, and that's why I think it's useless to use dependencies in Zend. It will only delete one level. e.g category -> subcategory -> subsubcategory Dele

Re: [fw-general] about zend_db_table and cascading deletes

2009-02-16 Thread william0275
Mark Wright-3 wrote: > > When you use a reference map and dependent tables for cascading row > deletion in the dependent tables how are those rows deleted? Does the > table class issue a sql delete statement or does it go through the row > object? The reason I ask is that I need it to go throug

[fw-general] about zend_db_table and cascading deletes

2009-02-15 Thread Mark Wright
When you use a reference map and dependent tables for cascading row deletion in the dependent tables how are those rows deleted? Does the table class issue a sql delete statement or does it go through the row object? The reason I ask is that I need it to go through the row object's delete() method

Re: [fw-general] about Zend_Db_Table

2008-02-28 Thread Bill Karwin
Jora wrote: > > How can I get the sql which has been excuted by Zend_Db_Table? > Enable the Zend_Db_Profiler before you do a Table query. See http://framework.zend.com/manual/en/zend.db.profiler.html Regards, Bill Karwin -- View this message in context: http://www.nabble.com/about-Zend_Db_

[fw-general] about Zend_Db_Table

2008-02-28 Thread Jora
I'm useing Zend_Db_Table to get data. Like: $rowset = $detail->fetchAll($_SESSION['where'],$_SESSION['order'],$rows,$F_Start*$rows); I want to catch if there's any error and write the wrong sql into Log file. How can I get the sql which has been excuted by Zend_Db_Table? Thanks -- View thi