mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1991: Add parameter indexBy to EntityRepository->createQueryBuilder() #2512
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 @doctrinebot on GitHub (Aug 20, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user corphi:
createQueryBuilder() currently doesn’t have a parameter to set the third option on the FROM fragment: indexBy. Right now you have to read it, create a new From with the read properties and your desired indexBy value and replace the existing one on the QueryBuilder.
Should be ten minutes’ work including tests. Thanks a lot!
@beberlei commented on GitHub (Dec 5, 2020):
This was added at some point.