Merge pull request #894 from piotrantosik/patch-2
Fix typos - QueryBuilder
This commit is contained in:
commit
5828e4c67c
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user