mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 17:33:15 +02:00
DDC-3031: ORM does not understand constants in SELECT clause #3763
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 15, 2014).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user cream_cheeze:
It seems that doctrine do not understand constants in SELECT clause.
I try to execute such a query:
SELECT e.id, 'abc' as flag FROM SomeEntity
And I get this error:
[Semantical Error] line 0, col 40 near 'parent, p.weight,': Error: Invalid PathExpression. Must be a StateFieldPathExpression.
There was an issue like this a long time ago: DDC-1077. It's written that it was Resolved, but it does not work.
@doctrinebot commented on GitHub (Mar 15, 2014):
Comment created by cream_cheeze:
Sorry, that was my mistake. It works fine!
@doctrinebot commented on GitHub (Mar 15, 2014):
Issue was closed with resolution "Invalid"