[DDC-2279] [GH-571] Update lib/Doctrine/ORM/EntityRepository.php Created: 05/Feb/13  Updated: 12/Mar/13  Resolved: 12/Mar/13

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: Bug Priority: Major
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Invalid Votes: 0
Labels: None


 Description   

This issue is created automatically through a Github pull request on behalf of flo-ITN:

Url: https://github.com/doctrine/doctrine2/pull/571

Message:

Add "indexby" missing parameter that permit an "index by" easily.

Ex :��
#Acme\AcmeBundle\Repository
#Before
public function findAllIndexById()

{ �� �� $qb = $this->_em->createQueryBuilder() �� �� �� �� �� �� �� �� �� �� ->select('root') �� �� �� �� �� �� �� �� �� �� ->from('Acme', 'root', 'root.id'); �� �� /*...*/ }

#After
public function findAllIndexById()

{ �� �� $qb = $this->createQueryBuilder('root','root.id'); �� ����/*...*/ }
Generated at Wed Jul 30 19:38:45 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.