Merge pull request #45 from oyerli/patch-1
Fixed typo in the orderBy method.
This commit is contained in:
commit
288ec8aa5c
@ -415,7 +415,7 @@ re-written using ``QueryBuilder`` helper methods:
|
|||||||
$qb->select('u')
|
$qb->select('u')
|
||||||
->from('User', 'u')
|
->from('User', 'u')
|
||||||
->where('u.id = ?1')
|
->where('u.id = ?1')
|
||||||
->orderBy('u.name ASC');
|
->orderBy('u.name', 'ASC');
|
||||||
|
|
||||||
``QueryBuilder`` helper methods are considered the standard way to
|
``QueryBuilder`` helper methods are considered the standard way to
|
||||||
build DQL queries. Although it is supported, it should be avoided
|
build DQL queries. Although it is supported, it should be avoided
|
||||||
|
Loading…
x
Reference in New Issue
Block a user