Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

array_agg doesn't support ORDER BY #120

Open
olek07 opened this issue Sep 19, 2022 · 1 comment
Open

array_agg doesn't support ORDER BY #120

olek07 opened this issue Sep 19, 2022 · 1 comment

Comments

@olek07
Copy link

olek07 commented Sep 19, 2022

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.

@ricardoee
Copy link

Hi @martin-georgiev,

Is this something that can be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants