mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Feature request DQL IN/NOT IT (entity.x, entity.y, entity.z) #5587
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 @agirot on GitHub (Jun 23, 2017).
Originally assigned to: @Ocramius on GitHub.
Hi,
What do you think to add IN/NOT IN with field entity (like native mysql/pg) ?
SELECT a FROM AppBundle:A a INNER JOIN a.fk_b b WHERE a.c NOT IN (b.x, b.y)Currently the result is a Doctrine\ORM\Query\QueryException :-)
@Ocramius commented on GitHub (Jun 23, 2017):
@agirot you could modify
InParameterparsing (http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#literal-values) to supportArithmeticExpression@lcobucci commented on GitHub (Jun 23, 2017):
@Ocramius Isn't that being handled by #6476?
@Ocramius commented on GitHub (Jun 23, 2017):
@lcobucci ah yes, indeed. Still, that PR requires checking, as I have no idea if/how the query parsing would react to that change :-\
@lcobucci commented on GitHub (Jun 23, 2017):
@Ocramius sure thing, I was just referencing 😄