@@ -247,7 +247,7 @@ |
||
247 | 247 | |
248 | 248 | // 2) Build insert table records into temporary table |
249 | 249 | $dql = ' SELECT t0.' . implode(', t0.', $rootClass->getIdentifierFieldNames()) |
250 | - . ' FROM ' . $targetClass->getClassName() . ' t0 WHERE t0.' . $association->getMappedBy() . ' = :owner'; |
|
250 | + . ' FROM ' . $targetClass->getClassName() . ' t0 WHERE t0.' . $association->getMappedBy() . ' = :owner'; |
|
251 | 251 | $query = $this->em->createQuery($dql)->setParameter('owner', $collection->getOwner()); |
252 | 252 | |
253 | 253 | $statement = 'INSERT INTO ' . $tempTable . ' (' . $idColumnNameList . ') ' . $query->getSQL(); |
@@ -306,8 +306,8 @@ discard block |
||
306 | 306 | |
307 | 307 | // FIXME: Order with composite keys might not be correct |
308 | 308 | $sql = 'SELECT ' . $columnName |
309 | - . ' FROM ' . $tableName |
|
310 | - . ' WHERE ' . implode(' = ? AND ', $identifier) . ' = ?'; |
|
309 | + . ' FROM ' . $tableName |
|
310 | + . ' WHERE ' . implode(' = ? AND ', $identifier) . ' = ?'; |
|
311 | 311 | |
312 | 312 | $flattenedId = $this->em->getIdentifierFlattener()->flattenIdentifier($versionedClass, $id); |
313 | 313 | $versionType = $versionProperty->getType(); |
@@ -511,8 +511,8 @@ discard block |
||
511 | 511 | } |
512 | 512 | |
513 | 513 | $sql = 'UPDATE ' . $quotedTableName |
514 | - . ' SET ' . implode(', ', $set) |
|
515 | - . ' WHERE ' . implode(' = ? AND ', $where) . ' = ?'; |
|
514 | + . ' SET ' . implode(', ', $set) |
|
515 | + . ' WHERE ' . implode(' = ? AND ', $where) . ' = ?'; |
|
516 | 516 | |
517 | 517 | $result = $this->conn->executeUpdate($sql, $params, $types); |
518 | 518 | |
@@ -1646,9 +1646,9 @@ discard block |
||
1646 | 1646 | $lock = $this->getLockTablesSql($lockMode); |
1647 | 1647 | $where = ($conditionSql ? ' WHERE ' . $conditionSql : '') . ' '; |
1648 | 1648 | $sql = 'SELECT 1 ' |
1649 | - . $lock |
|
1650 | - . $where |
|
1651 | - . $lockSql; |
|
1649 | + . $lock |
|
1650 | + . $where |
|
1651 | + . $lockSql; |
|
1652 | 1652 | |
1653 | 1653 | list($params, $types) = $this->expandParameters($criteria); |
1654 | 1654 | |
@@ -2127,8 +2127,8 @@ discard block |
||
2127 | 2127 | $alias = $this->getSQLTableAlias($this->class->getTableName()); |
2128 | 2128 | |
2129 | 2129 | $sql = 'SELECT 1 ' |
2130 | - . $this->getLockTablesSql(null) |
|
2131 | - . ' WHERE ' . $this->getSelectConditionSQL($criteria); |
|
2130 | + . $this->getLockTablesSql(null) |
|
2131 | + . ' WHERE ' . $this->getSelectConditionSQL($criteria); |
|
2132 | 2132 | |
2133 | 2133 | list($params, $types) = $this->expandParameters($criteria); |
2134 | 2134 |
@@ -1344,9 +1344,9 @@ discard block |
||
1344 | 1344 | private function getDQLForDelete() |
1345 | 1345 | { |
1346 | 1346 | return 'DELETE' |
1347 | - . $this->getReducedDQLQueryPart('from', ['pre' => ' ', 'separator' => ', ']) |
|
1348 | - . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
1349 | - . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
1347 | + . $this->getReducedDQLQueryPart('from', ['pre' => ' ', 'separator' => ', ']) |
|
1348 | + . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
1349 | + . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
1350 | 1350 | } |
1351 | 1351 | |
1352 | 1352 | /** |
@@ -1355,10 +1355,10 @@ discard block |
||
1355 | 1355 | private function getDQLForUpdate() |
1356 | 1356 | { |
1357 | 1357 | return 'UPDATE' |
1358 | - . $this->getReducedDQLQueryPart('from', ['pre' => ' ', 'separator' => ', ']) |
|
1359 | - . $this->getReducedDQLQueryPart('set', ['pre' => ' SET ', 'separator' => ', ']) |
|
1360 | - . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
1361 | - . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
1358 | + . $this->getReducedDQLQueryPart('from', ['pre' => ' ', 'separator' => ', ']) |
|
1359 | + . $this->getReducedDQLQueryPart('set', ['pre' => ' SET ', 'separator' => ', ']) |
|
1360 | + . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
1361 | + . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
1362 | 1362 | } |
1363 | 1363 | |
1364 | 1364 | /** |
@@ -1367,8 +1367,8 @@ discard block |
||
1367 | 1367 | private function getDQLForSelect() |
1368 | 1368 | { |
1369 | 1369 | $dql = 'SELECT' |
1370 | - . ($this->dqlParts['distinct']===true ? ' DISTINCT' : '') |
|
1371 | - . $this->getReducedDQLQueryPart('select', ['pre' => ' ', 'separator' => ', ']); |
|
1370 | + . ($this->dqlParts['distinct']===true ? ' DISTINCT' : '') |
|
1371 | + . $this->getReducedDQLQueryPart('select', ['pre' => ' ', 'separator' => ', ']); |
|
1372 | 1372 | |
1373 | 1373 | $fromParts = $this->getDQLPart('from'); |
1374 | 1374 | $joinParts = $this->getDQLPart('join'); |
@@ -1392,10 +1392,10 @@ discard block |
||
1392 | 1392 | } |
1393 | 1393 | |
1394 | 1394 | $dql .= implode(', ', $fromClauses) |
1395 | - . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
1396 | - . $this->getReducedDQLQueryPart('groupBy', ['pre' => ' GROUP BY ', 'separator' => ', ']) |
|
1397 | - . $this->getReducedDQLQueryPart('having', ['pre' => ' HAVING ']) |
|
1398 | - . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
1395 | + . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
1396 | + . $this->getReducedDQLQueryPart('groupBy', ['pre' => ' GROUP BY ', 'separator' => ', ']) |
|
1397 | + . $this->getReducedDQLQueryPart('having', ['pre' => ' HAVING ']) |
|
1398 | + . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
1399 | 1399 | |
1400 | 1400 | return $dql; |
1401 | 1401 | } |
@@ -1415,8 +1415,8 @@ discard block |
||
1415 | 1415 | } |
1416 | 1416 | |
1417 | 1417 | return ($options['pre'] ?? '') |
1418 | - . (is_array($queryPart) ? implode($options['separator'], $queryPart) : $queryPart) |
|
1419 | - . ($options['post'] ?? ''); |
|
1418 | + . (is_array($queryPart) ? implode($options['separator'], $queryPart) : $queryPart) |
|
1419 | + . ($options['post'] ?? ''); |
|
1420 | 1420 | } |
1421 | 1421 | |
1422 | 1422 | /** |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | public function testBulkUpdateIssueDDC368() |
301 | 301 | { |
302 | 302 | $this->em->createQuery('UPDATE ' . CompanyEmployee::class . ' AS p SET p.salary = 1') |
303 | - ->execute(); |
|
303 | + ->execute(); |
|
304 | 304 | |
305 | 305 | $result = $this->em->createQuery('SELECT count(p.id) FROM ' . CompanyEmployee::class . ' p WHERE p.salary = 1') |
306 | 306 | ->getResult(); |
@@ -314,9 +314,9 @@ discard block |
||
314 | 314 | public function testBulkUpdateNonScalarParameterDDC1341() |
315 | 315 | { |
316 | 316 | $this->em->createQuery('UPDATE ' . CompanyEmployee::class . ' AS p SET p.startDate = ?0 WHERE p.department = ?1') |
317 | - ->setParameter(0, new \DateTime()) |
|
318 | - ->setParameter(1, 'IT') |
|
319 | - ->execute(); |
|
317 | + ->setParameter(0, new \DateTime()) |
|
318 | + ->setParameter(1, 'IT') |
|
319 | + ->execute(); |
|
320 | 320 | |
321 | 321 | self::addToAssertionCount(1); |
322 | 322 | } |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | public function testExceptionIsThrownWhenCallingFindByWithoutParameter() |
312 | 312 | { |
313 | 313 | $this->em->getRepository(CmsUser::class) |
314 | - ->findByStatus(); |
|
314 | + ->findByStatus(); |
|
315 | 315 | } |
316 | 316 | |
317 | 317 | /** |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | public function testExceptionIsThrownWhenUsingInvalidFieldName() |
321 | 321 | { |
322 | 322 | $this->em->getRepository(CmsUser::class) |
323 | - ->findByThisFieldDoesNotExist('testvalue'); |
|
323 | + ->findByThisFieldDoesNotExist('testvalue'); |
|
324 | 324 | } |
325 | 325 | |
326 | 326 | /** |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | $this->expectException(TransactionRequiredException::class); |
333 | 333 | |
334 | 334 | $this->em->getRepository(CmsUser::class) |
335 | - ->find(1, LockMode::PESSIMISTIC_READ); |
|
335 | + ->find(1, LockMode::PESSIMISTIC_READ); |
|
336 | 336 | } |
337 | 337 | |
338 | 338 | /** |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | $this->expectException(TransactionRequiredException::class); |
345 | 345 | |
346 | 346 | $this->em->getRepository(CmsUser::class) |
347 | - ->find(1, LockMode::PESSIMISTIC_WRITE); |
|
347 | + ->find(1, LockMode::PESSIMISTIC_WRITE); |
|
348 | 348 | } |
349 | 349 | |
350 | 350 | /** |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | $this->expectException(OptimisticLockException::class); |
357 | 357 | |
358 | 358 | $this->em->getRepository(CmsUser::class) |
359 | - ->find(1, LockMode::OPTIMISTIC); |
|
359 | + ->find(1, LockMode::OPTIMISTIC); |
|
360 | 360 | } |
361 | 361 | |
362 | 362 | /** |
@@ -26,8 +26,8 @@ |
||
26 | 26 | { |
27 | 27 | $qb = $this->em->createQueryBuilder(); |
28 | 28 | $qb->select('p', 'r') |
29 | - ->from(__NAMESPACE__ . '\DDC698Privilege', 'p') |
|
30 | - ->leftJoin('p.roles', 'r'); |
|
29 | + ->from(__NAMESPACE__ . '\DDC698Privilege', 'p') |
|
30 | + ->leftJoin('p.roles', 'r'); |
|
31 | 31 | |
32 | 32 | self::assertSQLEquals( |
33 | 33 | 'SELECT t0."privilegeID" AS c0, t0."name" AS c1, t1."roleID" AS c2, t1."name" AS c3, t1."shortName" AS c4 FROM "Privileges" t0 LEFT JOIN "RolePrivileges" t2 ON t0."privilegeID" = t2."privilegeID" LEFT JOIN "Roles" t1 ON t1."roleID" = t2."roleID"', |
@@ -46,7 +46,7 @@ |
||
46 | 46 | $this->em->flush(); |
47 | 47 | |
48 | 48 | $asset->getAttributes() |
49 | - ->removeElement($attribute1); |
|
49 | + ->removeElement($attribute1); |
|
50 | 50 | |
51 | 51 | $idToBeRemoved = $attribute1->id; |
52 | 52 |
@@ -2128,12 +2128,12 @@ |
||
2128 | 2128 | $this->assertSqlGeneration( |
2129 | 2129 | 'SELECT u.id FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE CONCAT(u.name, u.status, \'s\') = ?1', |
2130 | 2130 | 'SELECT t0.[id] AS c0 FROM [cms_users] t0 WHERE (t0.[name] + t0.[status] + \'s\') = ?' |
2131 | - ); |
|
2131 | + ); |
|
2132 | 2132 | |
2133 | 2133 | $this->assertSqlGeneration( |
2134 | 2134 | 'SELECT CONCAT(u.id, u.name, u.status) FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id = ?1', |
2135 | 2135 | 'SELECT (t0.[id] + t0.[name] + t0.[status]) AS c0 FROM [cms_users] t0 WHERE t0.[id] = ?' |
2136 | - ); |
|
2136 | + ); |
|
2137 | 2137 | } |
2138 | 2138 | |
2139 | 2139 | /** |
@@ -274,12 +274,12 @@ discard block |
||
274 | 274 | { |
275 | 275 | $qb = $this->em->createQueryBuilder(); |
276 | 276 | $qb->select('u') |
277 | - ->from(CmsUser::class, 'u') |
|
278 | - ->where('u.id = :uid') |
|
279 | - ->orWhere('u.id = :uid2') |
|
280 | - ->andWhere('u.id = :uid3') |
|
281 | - ->orWhere('u.name = :name1', 'u.name = :name2') |
|
282 | - ->andWhere('u.name <> :noname'); |
|
277 | + ->from(CmsUser::class, 'u') |
|
278 | + ->where('u.id = :uid') |
|
279 | + ->orWhere('u.id = :uid2') |
|
280 | + ->andWhere('u.id = :uid3') |
|
281 | + ->orWhere('u.name = :name1', 'u.name = :name2') |
|
282 | + ->andWhere('u.name <> :noname'); |
|
283 | 283 | |
284 | 284 | self::assertValidQueryBuilder($qb, 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE (((u.id = :uid OR u.id = :uid2) AND u.id = :uid3) OR u.name = :name1 OR u.name = :name2) AND u.name <> :noname'); |
285 | 285 | } |
@@ -288,9 +288,9 @@ discard block |
||
288 | 288 | { |
289 | 289 | $qb = $this->em->createQueryBuilder(); |
290 | 290 | $qb->select('u') |
291 | - ->from(CmsUser::class, 'u') |
|
292 | - ->where('u.id = :uid') |
|
293 | - ->andWhere($qb->expr()->in('u.id', [1, 2, 3])); |
|
291 | + ->from(CmsUser::class, 'u') |
|
292 | + ->where('u.id = :uid') |
|
293 | + ->andWhere($qb->expr()->in('u.id', [1, 2, 3])); |
|
294 | 294 | |
295 | 295 | self::assertValidQueryBuilder($qb, 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id = :uid AND u.id IN(1, 2, 3)'); |
296 | 296 | } |
@@ -299,9 +299,9 @@ discard block |
||
299 | 299 | { |
300 | 300 | $qb = $this->em->createQueryBuilder(); |
301 | 301 | $qb->select('u') |
302 | - ->from(CmsUser::class, 'u') |
|
303 | - ->where('u.id = :uid') |
|
304 | - ->orWhere($qb->expr()->in('u.id', [1, 2, 3])); |
|
302 | + ->from(CmsUser::class, 'u') |
|
303 | + ->where('u.id = :uid') |
|
304 | + ->orWhere($qb->expr()->in('u.id', [1, 2, 3])); |
|
305 | 305 | |
306 | 306 | self::assertValidQueryBuilder($qb, 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id = :uid OR u.id IN(1, 2, 3)'); |
307 | 307 | } |
@@ -310,9 +310,9 @@ discard block |
||
310 | 310 | { |
311 | 311 | $qb = $this->em->createQueryBuilder(); |
312 | 312 | $qb->select('u') |
313 | - ->from(CmsUser::class, 'u') |
|
314 | - ->where('u.id = :uid') |
|
315 | - ->andWhere($qb->expr()->notIn('u.id', [1, 2, 3])); |
|
313 | + ->from(CmsUser::class, 'u') |
|
314 | + ->where('u.id = :uid') |
|
315 | + ->andWhere($qb->expr()->notIn('u.id', [1, 2, 3])); |
|
316 | 316 | |
317 | 317 | self::assertValidQueryBuilder($qb, 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id = :uid AND u.id NOT IN(1, 2, 3)'); |
318 | 318 | } |
@@ -321,9 +321,9 @@ discard block |
||
321 | 321 | { |
322 | 322 | $qb = $this->em->createQueryBuilder(); |
323 | 323 | $qb->select('u') |
324 | - ->from(CmsUser::class, 'u') |
|
325 | - ->where('u.id = :uid') |
|
326 | - ->orWhere($qb->expr()->notIn('u.id', [1, 2, 3])); |
|
324 | + ->from(CmsUser::class, 'u') |
|
325 | + ->where('u.id = :uid') |
|
326 | + ->orWhere($qb->expr()->notIn('u.id', [1, 2, 3])); |
|
327 | 327 | |
328 | 328 | self::assertValidQueryBuilder($qb, 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id = :uid OR u.id NOT IN(1, 2, 3)'); |
329 | 329 | } |
@@ -619,8 +619,8 @@ discard block |
||
619 | 619 | { |
620 | 620 | $qb = $this->em->createQueryBuilder(); |
621 | 621 | $qb->select('u') |
622 | - ->from(CmsUser::class, 'u') |
|
623 | - ->where($qb->expr()->orX('u.username = :username', 'u.username = :username2')); |
|
622 | + ->from(CmsUser::class, 'u') |
|
623 | + ->where($qb->expr()->orX('u.username = :username', 'u.username = :username2')); |
|
624 | 624 | |
625 | 625 | $parameters = new ArrayCollection(); |
626 | 626 | $parameters->add(new Parameter('username', 'jwage')); |
@@ -636,8 +636,8 @@ discard block |
||
636 | 636 | { |
637 | 637 | $qb = $this->em->createQueryBuilder(); |
638 | 638 | $qb->select('u') |
639 | - ->from(CmsUser::class, 'u') |
|
640 | - ->where('u.id = :id'); |
|
639 | + ->from(CmsUser::class, 'u') |
|
640 | + ->where('u.id = :id'); |
|
641 | 641 | |
642 | 642 | $parameters = new ArrayCollection(); |
643 | 643 | $parameters->add(new Parameter('id', 1)); |
@@ -686,8 +686,8 @@ discard block |
||
686 | 686 | { |
687 | 687 | $qb = $this->em->createQueryBuilder(); |
688 | 688 | $qb->select('u') |
689 | - ->from(CmsUser::class, 'u') |
|
690 | - ->orWhere('u.id = :uid', $qb->expr()->eq('u.id', ':uid2')); |
|
689 | + ->from(CmsUser::class, 'u') |
|
690 | + ->orWhere('u.id = :uid', $qb->expr()->eq('u.id', ':uid2')); |
|
691 | 691 | |
692 | 692 | self::assertValidQueryBuilder($qb, 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id = :uid OR u.id = :uid2'); |
693 | 693 | } |
@@ -700,8 +700,8 @@ discard block |
||
700 | 700 | $orExpr->add($qb->expr()->in('u.id', [1])); |
701 | 701 | |
702 | 702 | $qb->select('u') |
703 | - ->from(CmsUser::class, 'u') |
|
704 | - ->where($orExpr); |
|
703 | + ->from(CmsUser::class, 'u') |
|
704 | + ->where($orExpr); |
|
705 | 705 | |
706 | 706 | self::assertValidQueryBuilder($qb, 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id = :uid3 OR u.id IN(1)'); |
707 | 707 | } |
@@ -710,8 +710,8 @@ discard block |
||
710 | 710 | { |
711 | 711 | $qb = $this->em->createQueryBuilder(); |
712 | 712 | $qb->select('u') |
713 | - ->from(CmsUser::class, 'u') |
|
714 | - ->where($qb->expr()->in('u.name', ['one', 'two', 'three'])); |
|
713 | + ->from(CmsUser::class, 'u') |
|
714 | + ->where($qb->expr()->in('u.name', ['one', 'two', 'three'])); |
|
715 | 715 | |
716 | 716 | self::assertValidQueryBuilder($qb, "SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.name IN('one', 'two', 'three')"); |
717 | 717 | |
@@ -725,8 +725,8 @@ discard block |
||
725 | 725 | $qb = $this->em->createQueryBuilder(); |
726 | 726 | $expr = $this->em->getExpressionBuilder(); |
727 | 727 | $qb->select('u') |
728 | - ->from(CmsUser::class, 'u') |
|
729 | - ->where($expr->in('u.name', [$expr->literal('one'), $expr->literal('two'), $expr->literal('three')])); |
|
728 | + ->from(CmsUser::class, 'u') |
|
729 | + ->where($expr->in('u.name', [$expr->literal('one'), $expr->literal('two'), $expr->literal('three')])); |
|
730 | 730 | |
731 | 731 | self::assertValidQueryBuilder($qb, "SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.name IN('one', 'two', 'three')"); |
732 | 732 | |
@@ -744,8 +744,8 @@ discard block |
||
744 | 744 | |
745 | 745 | $qb = $this->em->createQueryBuilder(); |
746 | 746 | $qb->select('u') |
747 | - ->from(CmsUser::class, 'u') |
|
748 | - ->where($orExpr); |
|
747 | + ->from(CmsUser::class, 'u') |
|
748 | + ->where($orExpr); |
|
749 | 749 | |
750 | 750 | self::assertValidQueryBuilder($qb, 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id = :uid3 OR NOT(u.id IN(1))'); |
751 | 751 | } |
@@ -756,8 +756,8 @@ discard block |
||
756 | 756 | $expr = $this->em->getExpressionBuilder(); |
757 | 757 | |
758 | 758 | $qb->select('u') |
759 | - ->from(CmsUser::class, 'u') |
|
760 | - ->where($expr->gt('u.id', $expr->all('select a.id from Doctrine\Tests\Models\CMS\CmsArticle a'))); |
|
759 | + ->from(CmsUser::class, 'u') |
|
760 | + ->where($expr->gt('u.id', $expr->all('select a.id from Doctrine\Tests\Models\CMS\CmsArticle a'))); |
|
761 | 761 | |
762 | 762 | self::assertValidQueryBuilder($qb, 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id > ALL(select a.id from Doctrine\Tests\Models\CMS\CmsArticle a)'); |
763 | 763 | } |
@@ -1122,9 +1122,9 @@ discard block |
||
1122 | 1122 | public function testRebuildsFromParts() |
1123 | 1123 | { |
1124 | 1124 | $qb = $this->em->createQueryBuilder() |
1125 | - ->select('u') |
|
1126 | - ->from(CmsUser::class, 'u') |
|
1127 | - ->join('u.article', 'a'); |
|
1125 | + ->select('u') |
|
1126 | + ->from(CmsUser::class, 'u') |
|
1127 | + ->join('u.article', 'a'); |
|
1128 | 1128 | |
1129 | 1129 | $dqlParts = $qb->getDQLParts(); |
1130 | 1130 | $dql = $qb->getDQL(); |