mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Support for composite keys on groupBy caluse #6837
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?
Originally created by @exeba on GitHub (Sep 28, 2021).
Feature Request
Avoid throwing
QueryException::associationPathCompositeKeyNotSupportedin groupBy clauseSummary
In
orm/lib/Doctrine/ORM/Query/SqlWalker.phpwalkPathExpression()we find:I don't know the reason of this constraint, but as log as group by are concerned, it seems to me that it would do no harm to allow it.
Is there any reason why this is not the case?