ZF2-536: In \Zend\Db\Insert, VALUES_MERGE flag from "values" method does not work properly

Issue Type: Bug Created: 2012-09-10T08:37:56.000+0000 Last Updated: 2012-10-08T20:16:32.000+0000 Status: Closed Fix version(s): Reporter: Ionut Zailic (zailic) Assignee: Ralph Schindler (ralph) Tags: - Zend\Db

  • Zend_Db

Related issues: Attachments:


<pre class="highlight">
/**@var \Zend\Db\Insert $insert */
    'foo' => 1,
    'bar' => 2
)); //INSERT INTO "baz" ("foo", "bar") VALUES ('1', '2')
$insert->values(array('qux' => 100), Insert::VALUES_MERGE); //INSERT INTO "baz" ("qux") VALUES ('1', '2', '100')


Posted by Koen Pieters (koen) on 2012-09-10T13:00:20.000+0000

Sent pull request for this issue:

Posted by Ionut Zailic (zailic) on 2012-09-10T16:06:15.000+0000

Good job!

Posted by Ralph Schindler (ralph) on 2012-10-08T20:16:32.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

Have you found an issue?

See the Overview section for more details.


© 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.