Skip to content
Snippets Groups Projects
Unverified Commit a02e2ea0 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2969598 by msankhala, joachim: badly formatted sample code in docs for Select::orderBy()

parent bae2ff87
No related branches found
No related tags found
No related merge requests found
......@@ -404,10 +404,10 @@ public function addJoin($type, $table, $alias = NULL, $condition = NULL, $argume
* on.
*
* Example:
* <code>
* @code
* $query->addExpression('SUBSTRING(thread, 1, (LENGTH(thread) - 1))', 'order_field');
* $query->orderBy('order_field', 'ASC');
* </code>
* @endcode
* @param $direction
* The direction to sort. Legal values are "ASC" and "DESC". Any other value
* will be converted to "ASC".
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment