Details
Description
The update and delete methods both can accept an array in the format
array('id = ?' => $id)
This is not well covered in the manual, which actually implies that it will simply concatenate the values together with AND statements.
If you provide an array of strings as the second argument, these strings are joined together as terms in an expression separated by AND operators.
This should be covered, along with a use case example.
It may also be worth noting that the term (value) may also be a Zend_Db_Expr.
Issue Links
| This issue is duplicated by: | ||||
| ZF-2863 | Zend_Db_Table - Improvement for "where" parameter in update() method |
|
|
|
Set component to Zend_Db and assigned to Ralph