mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #864] [CLOSED] Updated parser to support aggegrate functions in null comparisons #8823
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/864
Author: @curry684
Created: 11/29/2013
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
b134507Updated parser to support aggegrate functions in null comparisons📊 Changes
1 file changed (+8 additions, -2 deletions)
View changed files
📝
lib/Doctrine/ORM/Query/Parser.php(+8 -2)📄 Description
Parser didn't support syntax like "SELECT i FROM entity i JOIN i.second s GROUP BY i HAVING max(s.something) IS NULL" which should be perfectly valid. Changed isAggregateFunction to support parameterless call which makes it consistent with isFunction.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.