1
0
mirror of synced 2025-01-09 18:47:10 +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> * <code>
* $qb = $em->createQueryBuilder() * $qb = $em->createQueryBuilder()
* ->select('u') * ->select('u')
* ->from('User', 'u') * ->from('User', 'u');
* echo $qb->getDql(); // SELECT u FROM User u * echo $qb->getDql(); // SELECT u FROM User u
* </code> * </code>
* *
@ -655,7 +655,7 @@ class QueryBuilder
* <code> * <code>
* $qb = $em->createQueryBuilder() * $qb = $em->createQueryBuilder()
* ->delete('User', 'u') * ->delete('User', 'u')
* ->where('u.id = :user_id'); * ->where('u.id = :user_id')
* ->setParameter('user_id', 1); * ->setParameter('user_id', 1);
* </code> * </code>
* *
@ -709,7 +709,7 @@ class QueryBuilder
* <code> * <code>
* $qb = $em->createQueryBuilder() * $qb = $em->createQueryBuilder()
* ->select('u') * ->select('u')
* ->from('User', 'u') * ->from('User', 'u');
* </code> * </code>
* *
* @param string $from The class name. * @param string $from The class name.
@ -967,8 +967,8 @@ class QueryBuilder
* $qb = $em->createQueryBuilder() * $qb = $em->createQueryBuilder()
* ->select('u') * ->select('u')
* ->from('User', 'u') * ->from('User', 'u')
* ->groupBy('u.lastLogin'); * ->groupBy('u.lastLogin')
* ->addGroupBy('u.createdAt') * ->addGroupBy('u.createdAt');
* </code> * </code>
* *
* @param string $groupBy The grouping expression. * @param string $groupBy The grouping expression.