Hey!
How do I add the LIMIT 1
clause to an update when using Zend Framework?
I'm kind of forced not to use Zend_Db_Table_Abstract::update()
since it executes itself unlike the sweet Zend_Db_Select
-classes.
The reason to do this is just precaution and I think Zend_Db_Table_Abstract::update()
's syntax makes more sense when found in code than the more allround Zend_Db_Adapter_Abstract::query()
.