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

Issue Type: Bug Created: 2008-07-15T13:05:22.000+0000 Last Updated: 2009-08-25T15:37:14.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)

Reporter: Aaron Libadisos (aaron.libadisos) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db_Table

Related issues: - ZF-39



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.


Posted by Ralph Schindler (ralph) on 2009-08-25T15:37:14.000+0000

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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.