Merge pull request #631 from aaronmu/master
Fix typo in one of the orderBy examples.
This commit is contained in:
commit
a4db7c8b42
@ -222,7 +222,7 @@ alternative syntax is available:
|
||||
$qb->select('u')
|
||||
->from('User u')
|
||||
->where('u.id = :identifier')
|
||||
->orderBy('u.name ASC');
|
||||
->orderBy('u.name', 'ASC');
|
||||
->setParameter('identifier', 100); // Sets :identifier to 100, and thus we will fetch a user with u.id = 100
|
||||
|
||||
Note that numeric placeholders start with a ? followed by a number
|
||||
|
Loading…
Reference in New Issue
Block a user