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
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
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
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_
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