1
0
mirror of synced 2025-01-09 10:37:09 +03:00

Merge pull request #894 from piotrantosik/patch-2

Fix typos - QueryBuilder
This commit is contained in:
Steve Müller 2014-01-03 09:23:48 -08:00
commit 5828e4c67c

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.