mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-334: QueryBuilder throws QueryException when Expr\Comparison with 'LIKE' operator was added in where clause #413
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 (Feb 14, 2010).
Jira issue originally created by user ignat:
Example of code that throws exception:
Exception details:
Message: Doctrine\ORM\Query\QueryException: [Syntax Error] line 0, col 100: Error: Expected =, <, <=, <>, >, >=, !=, got 'LIKE'
Trace:
lib/Doctrine/ORM/Query/QueryException.php:41
lib/Doctrine/ORM/Query/Parser.php:346
lib/Doctrine/ORM/Query/Parser.php:2572
...
@doctrinebot commented on GitHub (Feb 14, 2010):
@doctrinebot commented on GitHub (Feb 14, 2010):
Comment created by ignat:
I found that if I don't use LOWER function exception won't throw.
@doctrinebot commented on GitHub (Feb 20, 2010):
Comment created by romanb:
Should be fixed in trunk.
@doctrinebot commented on GitHub (Feb 20, 2010):
Issue was closed with resolution "Fixed"