1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Merge pull request #631 from aaronmu/master

Fix typo in one of the orderBy examples.
This commit is contained in:
Guilherme Blanco 2013-03-26 09:18:01 -07:00
commit a4db7c8b42

View File

@ -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