mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3: Support for CASE expressions in DQL #2
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 (Sep 9, 2009).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user romanb:
CASE expressions should be supported in DQL similarly to the definition found in 4.6.17.3 of the JPA 2.0 specification.
Steps: 1) Adjust the BNF
2) Adjust the Parser according to the changed BNF
3) Adjust the SqlWalker? to produce the correct SQL
@doctrinebot commented on GitHub (Sep 9, 2009):
@doctrinebot commented on GitHub (Apr 16, 2010):
Comment created by romanb:
test
@doctrinebot commented on GitHub (Jun 21, 2010):
Comment created by romanb:
The BNF and Parser has already been largely prepared for that.
@doctrinebot commented on GitHub (Aug 12, 2010):
Comment created by @guilhermeblanco:
Added all Lexer keywords to it. It was breaking some use cases.
Parsing can be easily done. How far is Walker generation far from an acceptable state?
@doctrinebot commented on GitHub (Aug 12, 2010):
Comment created by @beberlei:
its a 2.1 change, so we can delay that for now or not? adding the keyword is a good idea though, maybe we should think about some other keywords that we potentially need in the future?
@doctrinebot commented on GitHub (Dec 24, 2010):
Comment created by romanb:
I will try to finish this for 2.1.
@doctrinebot commented on GitHub (Aug 8, 2011):
Comment created by @guilhermeblanco:
In this commit:
816ce41f63And documented in this commit:
189c729f15This support was FINALLY included. =)
@doctrinebot commented on GitHub (Aug 8, 2011):
Issue was closed with resolution "Fixed"