From de9f053cfb6cc33e84aace8ae1bbfaac0153fae9 Mon Sep 17 00:00:00 2001 From: Richard Shank Date: Wed, 20 Jun 2012 03:41:20 -0700 Subject: [PATCH] Add xml code block for OrderBy --- en/tutorials/ordered-associations.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/en/tutorials/ordered-associations.rst b/en/tutorials/ordered-associations.rst index c34b01ce7..1f84ea0e6 100644 --- a/en/tutorials/ordered-associations.rst +++ b/en/tutorials/ordered-associations.rst @@ -27,6 +27,18 @@ can specify the ``@OrderBy`` in the following way: private $groups; } +.. code-block:: xml + + + + + + + + + + + The DQL Snippet in OrderBy is only allowed to consist of unqualified, unquoted field names and of an optional ASC/DESC positional statement. Multiple Fields are separated by a comma (,).