mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-458: DQL parser issue when using IN () #572
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 (Mar 23, 2010).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user grekker:
If you create a query like the following, you will get an exception about receiving a string literal when you try to execute it.
$em->createQuery( "select e from MyEntity e where e.id in (1,2,3,4,5)" );
The following query, however, works fine:
$em->createQuery( "select e from MyEntity e where e.id in (1, 2, 3, 4, 5)" );
Note the spaces after the commas.
@doctrinebot commented on GitHub (Mar 23, 2010):
Comment created by @guilhermeblanco:
In r7456 this issue was fixed.
@doctrinebot commented on GitHub (Mar 23, 2010):
Issue was closed with resolution "Fixed"