mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Passing tuples and 2d array parameters #5956
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tszymanek on GitHub (Apr 24, 2018).
Originally assigned to: @Ocramius on GitHub.
I've got a similar issue to #6200 but regarding the DQL Parser.
I can't pass a tuple with f.i.
(e.id, e.revision)in$qb->expr()->in('(e.id, e.revision)', ':idRevision')'cause it expects aT_CLOSE_PARENTHESISbut gets a comma.Probably the evaluation of the parameter being an array of arrays won't work as well.
$idRevision = array([1001, 1], [1002, 1], [1003, 2])