Merge pull request #96 from calumbrodie/patch-1
Fixed inline example of concat method
This commit is contained in:
commit
988d0001d3
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user