[DDC-2279] [GH-571] Update lib/Doctrine/ORM/EntityRepository.php Created: 05/Feb/13  Updated: 19/Oct/14  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

Issue Links:
Reference
relates to DBAL-947 [GH-634] Transaction object definition Open

 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');
�� ����/.../
}



 Comments   
Comment by Doctrine Bot [ 23/Aug/14 ]

A related Github Pull-Request [GH-571] was closed:
https://github.com/doctrine/dbal/pull/571

Generated at Tue Sep 01 08:13:27 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.