1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Fix bug: orderBy documentation

This commit is contained in:
iBet7o 2016-04-17 17:31:48 -05:00
parent 76a5229fac
commit 165722cf05

View File

@ -113,7 +113,7 @@ suggested standard way to build queries:
$qb->expr()->eq('u.id', '?1'),
$qb->expr()->like('u.nickname', '?2')
))
->orderBy('u.surname', 'ASC'));
->orderBy('u.surname', 'ASC');
Here is a complete list of helper methods available in ``QueryBuilder``:
@ -562,4 +562,3 @@ same query of example 6 written using
Of course this is the hardest way to build a DQL query in Doctrine.
To simplify some of these efforts, we introduce what we call as
``Expr`` helper class.