1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Fix typos - QueryBuilder

This commit is contained in:
Piotr Antosik 2014-01-03 17:28:42 +01:00
parent 9a3cf77919
commit eb45690e10

View File

@ -187,7 +187,7 @@ class QueryBuilder
* <code>
* $qb = $em->createQueryBuilder()
* ->select('u')
* ->from('User', 'u')
* ->from('User', 'u');
* echo $qb->getDql(); // SELECT u FROM User u
* </code>
*
@ -655,7 +655,7 @@ class QueryBuilder
* <code>
* $qb = $em->createQueryBuilder()
* ->delete('User', 'u')
* ->where('u.id = :user_id');
* ->where('u.id = :user_id')
* ->setParameter('user_id', 1);
* </code>
*
@ -709,7 +709,7 @@ class QueryBuilder
* <code>
* $qb = $em->createQueryBuilder()
* ->select('u')
* ->from('User', 'u')
* ->from('User', 'u');
* </code>
*
* @param string $from The class name.
@ -967,8 +967,8 @@ class QueryBuilder
* $qb = $em->createQueryBuilder()
* ->select('u')
* ->from('User', 'u')
* ->groupBy('u.lastLogin');
* ->addGroupBy('u.createdAt')
* ->groupBy('u.lastLogin')
* ->addGroupBy('u.createdAt');
* </code>
*
* @param string $groupBy The grouping expression.