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

Merge pull request #5787 from iBet7o/patch-doc

Fix bug: orderBy documentation
This commit is contained in:
Marco Pivetta 2017-06-24 04:05:41 +02:00 committed by GitHub
commit b66dd0b6fa

View File

@ -126,7 +126,7 @@ Here is a complete list of helper methods available in ``QueryBuilder``:
// Example - $qb->select(array('u', 'p')) // Example - $qb->select(array('u', 'p'))
// Example - $qb->select($qb->expr()->select('u', 'p')) // Example - $qb->select($qb->expr()->select('u', 'p'))
public function select($select = null); public function select($select = null);
// addSelect does not override previous calls to select // addSelect does not override previous calls to select
// //
// Example - $qb->select('u'); // Example - $qb->select('u');
@ -580,4 +580,3 @@ same query of example 6 written using
Of course this is the hardest way to build a DQL query in Doctrine. 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 To simplify some of these efforts, we introduce what we call as
``Expr`` helper class. ``Expr`` helper class.