Skip to content

Loading…

Fix typo in one of the orderBy examples. #631

Merged
merged 1 commit into from

3 participants

@aaronmu

Fix typo in one of the orderBy examples.

@aaronmu aaronmu Update query-builder.rst
Fix typo in one of the orderBy examples.
3e8dd1e
@doctrinebot

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DDC-2371

@guilhermeblanco guilhermeblanco merged commit a4db7c8 into doctrine:master

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 26, 2013
  1. @aaronmu

    Update query-builder.rst

    aaronmu committed
    Fix typo in one of the orderBy examples.
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/en/reference/query-builder.rst
View
2 docs/en/reference/query-builder.rst
@@ -222,7 +222,7 @@ alternative syntax is available:
$qb->select('u')
->from('User u')
->where('u.id = :identifier')
- ->orderBy('u.name ASC');
+ ->orderBy('u.name', 'ASC');
->setParameter('identifier', 100); // Sets :identifier to 100, and thus we will fetch a user with u.id = 100
Note that numeric placeholders start with a ? followed by a number
Something went wrong with that request. Please try again.