1
0
mirror of synced 2025-01-18 22:41:43 +03:00

Fixed typo in the orderBy method.

This commit is contained in:
Ozan Yerli 2011-09-04 23:43:43 +03:00
parent 8084b6cbf0
commit a61c7e59d6

View File

@ -415,7 +415,7 @@ re-written using ``QueryBuilder`` helper methods:
$qb->select('u')
->from('User', 'u')
->where('u.id = ?1')
->orderBy('u.name ASC');
->orderBy('u.name', 'ASC');
``QueryBuilder`` helper methods are considered the standard way to
build DQL queries. Although it is supported, it should be avoided