Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

On many results > 300k, join actionComponent and component is a perfo…

…rmance killer ... having more requests but 5x faster.
  • Loading branch information...
commit 385b52e7acd1d6e98f08ac8ab8c1843933bc2e07 1 parent 0f06e2e
@stephpy authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 Driver/ORM/QueryBuilder/QueryBuilder.php
View
5 Driver/ORM/QueryBuilder/QueryBuilder.php
@@ -62,10 +62,7 @@ public function createQueryBuilder()
$qb = $this->objectManager
->getRepository($this->actionClass)
->createQueryBuilder('action')
- ->select('action, actionComponent, component')
- ->innerJoin('action.actionComponents', 'actionComponent')
- ->leftJoin('actionComponent.component', 'component')
- ;
+ ->select('action');
if ($this->getSubjects()) {
$this->filterSubjects($qb);
Please sign in to comment.
Something went wrong with that request. Please try again.