Unverified Commit 799085fa authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3504 from DavidBruchmann/master

fix #3479 (typos in example-code in QueryBuilder)
parents b4d10154 e555e16f
...@@ -504,7 +504,7 @@ class QueryBuilder ...@@ -504,7 +504,7 @@ class QueryBuilder
* <code> * <code>
* $qb = $conn->createQueryBuilder() * $qb = $conn->createQueryBuilder()
* ->delete('users', 'u') * ->delete('users', 'u')
* ->where('u.id = :user_id'); * ->where('u.id = :user_id')
* ->setParameter(':user_id', 1); * ->setParameter(':user_id', 1);
* </code> * </code>
* *
...@@ -873,8 +873,8 @@ class QueryBuilder ...@@ -873,8 +873,8 @@ class QueryBuilder
* $qb = $conn->createQueryBuilder() * $qb = $conn->createQueryBuilder()
* ->select('u.name') * ->select('u.name')
* ->from('users', 'u') * ->from('users', 'u')
* ->groupBy('u.lastLogin'); * ->groupBy('u.lastLogin')
* ->addGroupBy('u.createdAt') * ->addGroupBy('u.createdAt');
* </code> * </code>
* *
* @param mixed $groupBy The grouping expression. * @param mixed $groupBy The grouping expression.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment