1
0
mirror of synced 2025-01-19 06:51:40 +03:00

Merge pull request #96 from calumbrodie/patch-1

Fixed inline example of concat method
This commit is contained in:
Guilherme Blanco 2012-05-31 06:52:44 -07:00
commit 988d0001d3

View File

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