postgresql-for-doctrine
postgresql-for-doctrine copied to clipboard
array_agg doesn't support ORDER BY
When I use the function like this array_agg(d.startDate ORDER BY d.startDate DESC), I get en error
"[Syntax Error] line 0, col 64: Error: Expected Doctrine\ORM\Query\Lexer::T_CLOSE_PARENTHESIS, got 'ORDER'"
Please fix it.
Hi @martin-georgiev,
Is this something that can be fixed?