Issues

ZF-3653: Zend_Db_Table::find() doesn't support For Update

Description

According to ZF-39 Zend_Db_Table::find() had support for For Update because of the addition of the Zend_Db_Select::forUpdate() method. While this did work for the fetch operations of Zend_Db_Table it does not work for the find method because Zend_Db_Table::find() does not support passing a Zend_Db_Select object as a parameter.

Comments

find() does not support the usage of Zend_Db_Table_Select objects, it is a decorative interface into the functionality of fetchAll(). If you want to use a select object, you're better off passing into fetchAll() as it will be more indicative and expressive of what you are attempting to do.