1
0
mirror of synced 2025-02-20 22:23:14 +03:00

Update query-builder.rst

expresion substr changed to substring as of
http://www.doctrine-project.org/jira/browse/DDC-382
This commit is contained in:
sabzeta 2013-09-20 15:27:05 +03:00
parent fe78977973
commit a419c7c93b

View File

@ -448,8 +448,8 @@ complete list of supported helper methods available:
// Example - $qb->expr()->concat('u.firstname', $qb->expr()->concat($qb->expr()->literal(' '), 'u.lastname'))
public function concat($x, $y); // Returns Expr\Func
// Example - $qb->expr()->substr('u.firstname', 0, 1)
public function substr($x, $from, $len); // Returns Expr\Func
// Example - $qb->expr()->substring('u.firstname', 0, 1)
public function substring($x, $from, $len); // Returns Expr\Func
// Example - $qb->expr()->lower('u.firstname')
public function lower($x); // Returns Expr\Func