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

Merge pull request #45 from oyerli/patch-1

Fixed typo in the orderBy method.
This commit is contained in:
Benjamin Eberlei 2011-10-25 13:45:24 -07:00
commit 288ec8aa5c

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