In \Zend\Db\Insert, VALUES_MERGE flag from "values" method does not work properly #2569

Closed
zfbot opened this Issue Sep 28, 2012 · 4 comments

Comments

Projects
None yet
2 participants

zfbot commented Sep 28, 2012

Jira Information

Original Issue:ZF2-536
Issue Type:Bug
Reporter:Ionut Zailic
Created:09/10/12
Assignee:ralphschindler
Components:Zend\Db

Description

/**@var \Zend\Db\Insert $insert */
$insert->values(array(
    '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')

zfbot commented Sep 28, 2012

(Originally posted by: Koen Pieters on 09/10/12)

Sent pull request for this issue: zendframework#2325

zfbot commented Sep 28, 2012

(Originally posted by: Ionut Zailic on 09/10/12)

Good job!

zfbot commented Sep 28, 2012

This issue was ported from the ZF2 Jira Issue Tracker at
http://framework.zend.com/issues/browse/ZF2-536

Known GitHub users mentioned in the original message or comment:
@ralphschindler

@ghost ghost assigned ralphschindler Sep 28, 2012

Member

ralphschindler commented Oct 6, 2012

Fixed with pull request #2325

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment