DDC-2171: LENGTH doesn't support subquery #2731

Closed
opened 2026-01-22 14:01:53 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 26, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user mvrhov:

It seems that one is unable to do
SUBSTRING(
l.label, 0, 1 + LENGTH(
SELECT l2.label FROM Foo:Label AS l2 WHERE l2.id = :label
)) = ...

Originally created by @doctrinebot on GitHub (Nov 26, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user mvrhov: It seems that one is unable to do SUBSTRING( l.label, 0, 1 + LENGTH( SELECT l2.label FROM Foo:Label AS l2 WHERE l2.id = :label )) = ...
admin added the Bug label 2026-01-22 14:01:53 +01:00
admin closed this issue 2026-01-22 14:01:54 +01:00
Author
Owner

@doctrinebot commented on GitHub (Dec 16, 2012):

Comment created by @beberlei:

Yes, the DQL EBNF doesn't allow this.

@doctrinebot commented on GitHub (Dec 16, 2012): Comment created by @beberlei: Yes, the DQL EBNF doesn't allow this.
Author
Owner

@doctrinebot commented on GitHub (Dec 16, 2012):

Issue was closed with resolution "Won't Fix"

@doctrinebot commented on GitHub (Dec 16, 2012): Issue was closed with resolution "Won't Fix"
Author
Owner

@doctrinebot commented on GitHub (Dec 16, 2012):

Comment created by mvrhov:

I'm sorry benjamin, but I don't agree with won't fix ... This should stay open even if there is a won't fix ATM because of time constraints...

@doctrinebot commented on GitHub (Dec 16, 2012): Comment created by mvrhov: I'm sorry benjamin, but I don't agree with won't fix ... This should stay open even if there is a won't fix ATM because of time constraints...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2731