Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
N/A
-
Resolution: Won't Fix
-
Affects Version/s: 1.5.1, 1.5.2
-
Fix Version/s: 1.9.3
-
Component/s: Zend_Db_Table
-
Labels:None
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.
Issue Links
| This issue is related to: | ||||
| ZF-39 | Zend_Db_Table For Update |
|
|
|
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.