Commit 6fdfcab2 authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #2818 from Dormilich/Dormilich-patch-2814

fixing issue #2814
parents 49bf43bb 68990405
...@@ -540,7 +540,7 @@ class QueryBuilder ...@@ -540,7 +540,7 @@ class QueryBuilder
* <code> * <code>
* $qb = $conn->createQueryBuilder() * $qb = $conn->createQueryBuilder()
* ->update('users', 'u') * ->update('users', 'u')
* ->set('u.password', md5('password')) * ->set('u.last_login', 'NOW()')
* ->where('u.id = ?'); * ->where('u.id = ?');
* </code> * </code>
* *
...@@ -733,7 +733,7 @@ class QueryBuilder ...@@ -733,7 +733,7 @@ class QueryBuilder
* <code> * <code>
* $qb = $conn->createQueryBuilder() * $qb = $conn->createQueryBuilder()
* ->update('users', 'u') * ->update('users', 'u')
* ->set('u.password', md5('password')) * ->set('u.last_login', 'NOW()')
* ->where('u.id = ?'); * ->where('u.id = ?');
* </code> * </code>
* *
...@@ -765,7 +765,7 @@ class QueryBuilder ...@@ -765,7 +765,7 @@ class QueryBuilder
* $or->add($qb->expr()->eq('u.id', 2)); * $or->add($qb->expr()->eq('u.id', 2));
* *
* $qb->update('users', 'u') * $qb->update('users', 'u')
* ->set('u.password', md5('password')) * ->set('u.last_login', 'NOW()')
* ->where($or); * ->where($or);
* </code> * </code>
* *
......
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