Zend Framework

Zend_Db_Table::find() doesn't support For Update

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: N/A 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

Activity

Hide
Ralph Schindler added a comment -

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.

Show
Ralph Schindler added a comment - 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.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: