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

Querying problems con Many to Many relations: GROUP BY needed #18

Open
dlopeza opened this issue Jun 21, 2018 · 1 comment
Open

Querying problems con Many to Many relations: GROUP BY needed #18

dlopeza opened this issue Jun 21, 2018 · 1 comment

Comments

@dlopeza
Copy link

dlopeza commented Jun 21, 2018

I have a many to many relation. There is no "group by" in the DQL, so when I filer on a relationed entity, I dont have all the results. Maybe setting a "group by" field as a parameter or something would solve it.

@galeaspablo
Copy link
Collaborator

A group by would still only return one result. I remember stumbling upon this before, I’m not sure what the best approach is here.

A concrete example of what you suggest would help, can you give me one please?

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

No branches or pull requests

2 participants