Details
Description
Like expressions doesn't allow the matching apttern to be a function returning string like LOWER(column) LIKE LOWER(:param)
Query parsers is returning exception like this:
[Syntax Error] line 0, col 82: Error: Expected Doctrine\ORM\Query\Lexer::T_STRING, got 'LOWER'
It is not possible to construct queries like this:
SELECT u.name FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE UPPER(u.name) LIKE UPPER(:str)
I'll create a pull request on github for this issue.
Assigned to Guilherme