mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
GroupBy discriminator #5435
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 @raziel057 on GitHub (Feb 28, 2017).
Do you think it could be possible to allow to query grouping by discriminant. For example, we could be able to create a query builder like that, given the fact that we can have different kind of Participants:
Doctrine could simply convert the
DISCRIMINATOR(p)top.discrinternally. What do you think about that?@ghost commented on GitHub (Jul 9, 2020):
This could be used as
->orderBy('DISCRIMINATOR(p)')too, right? It would be good addition.@beberlei commented on GitHub (Jul 10, 2020):
@guilhermeblanco what do you think?
@AlexeyKosov commented on GitHub (Oct 24, 2021):
Any plans on implementing that? Would be very helpful.
@fnagel commented on GitHub (Feb 29, 2024):
Any workaround for this?
@loicpennamen commented on GitHub (May 26, 2025):
Also has this use-case today.