Issues

ZF-7626: update and delete methods of the adapter lack documentation of binding options

Issue Type: Docs: Improvement Created: 2009-08-18T10:07:29.000+0000 Last Updated: 2009-12-21T11:26:02.000+0000 Status: Resolved Fix version(s): - 1.9.5 (27/Oct/09)

Reporter: Ryan Mauger (bittarman) Assignee: Ryan Mauger (bittarman) Tags: - Zend_Db

Related issues: - ZF-2863

Attachments:

Description

The update and delete methods both can accept an array in the format

<pre class="highlight">
    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

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts