mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1823: Error with IN and UPPER in the same line #2300
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 @doctrinebot on GitHub (May 17, 2012).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user patxi1980:
I have a problem making a DQL query
{quote}
SELECT c.id, c.name
FROM BrandBundle:Brand c
WHERE UPPER(c.name) IN (:values)
{quote}
:values is an array of possible names of brands.
The error shown is
{quote}
[Syntax Error] line 0, col 109: Error: Expected Doctrine\ORM\Query\Lexer::T_IN, got '('
{quote}
@doctrinebot commented on GitHub (May 27, 2012):
Comment created by @guilhermeblanco:
This is already fixed in master for a long time and should be available in 2.3, since it requires major changes in DQL.
@doctrinebot commented on GitHub (May 27, 2012):
Issue was closed with resolution "Fixed"