Merge pull request #732 from trsteel88/patch-1
Update working-with-associations.rst
This commit is contained in:
commit
6f39a426a7
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ large collections.
|
|||
|
||||
$criteria = Criteria::create()
|
||||
->where(Criteria::expr()->eq("birthday", "1982-02-17"))
|
||||
->orderBy(array("username" => "ASC"))
|
||||
->orderBy(array("username" => Criteria::ASC))
|
||||
->setFirstResult(0)
|
||||
->setMaxResults(20)
|
||||
;
|
||||
|
|
Loading…
Add table
Reference in a new issue