Unverified Commit e555e16f authored by David Bruchmann's avatar David Bruchmann Committed by GitHub

fix #3479 (typos in example-code in QueryBuilder)

fix two typos in QueryBuilder, on of them reported in #3479
parent b4d10154
...@@ -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