Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Invalid
-
Affects Version/s: 2.2, 2.3, Git Master
-
Fix Version/s: None
-
Component/s: ORM
-
Security Level: All
-
Labels:
Description
This issue is created automatically through a Github pull request on behalf of cmenning:
Url: https://github.com/doctrine/doctrine2/pull/592
Message:
This is a handy shortcut when using indexed results.
The repository is already (probably) doing too much. A simpler approach with:
$qb = $em->createQueryBuilder()->select('e')->from($repo->getClassName(), 'e', 'e.stuff')Is no big deal in my opinion.