Skip to content

Loading…

DDC-1823: Error with IN and UPPER in the same line #2481

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

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

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

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.3 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.