ZF-7626: update and delete methods of the adapter lack documentation of binding options
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. {quote} 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. {quote}
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.
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2009-08-18T11:17:01.000+0000
Set component to Zend_Db and assigned to Ralph
Posted by Ryan Mauger (bittarman) on 2009-10-16T13:07:23.000+0000
Fix merged to 1.9 release in r18603