Allowing expression in COUNT()
DQL aggregation functions
This commit is contained in:
parent
02ba144c8d
commit
097840dc93
@ -2962,9 +2962,7 @@ class Parser
|
||||
$isDistinct = true;
|
||||
}
|
||||
|
||||
$pathExp = ($lookaheadType === Lexer::T_COUNT)
|
||||
? $this->SingleValuedPathExpression()
|
||||
: $this->SimpleArithmeticExpression();
|
||||
$pathExp = $this->SimpleArithmeticExpression();
|
||||
|
||||
$this->match(Lexer::T_CLOSE_PARENTHESIS);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user