diff options
author | admin <devnull@localhost> | 2006-09-21 07:36:15 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-21 07:36:15 +0200 |
commit | 885b0343036695ad673fc24ba7682fc155c54036 (patch) | |
tree | 648e3d80b6082c905cc291e0bb1d033f57bf06ba /user_guide/libraries | |
parent | cfc1fb38f0d7cd49c735730a603f7ca5a98a664d (diff) |
Diffstat (limited to 'user_guide/libraries')
-rw-r--r-- | user_guide/libraries/database/active_record.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/libraries/database/active_record.html b/user_guide/libraries/database/active_record.html index 793f41f1e..b45c5d14e 100644 --- a/user_guide/libraries/database/active_record.html +++ b/user_guide/libraries/database/active_record.html @@ -354,7 +354,7 @@ $this->db->orlike('body', $match); <h2>$this->db->orderby();</h2>
<p>Lets you set an ORDER BY clause. The first parameter contains the name of the column you would like to order by.
-The second parameter lets you set the direction of the result. Options are <kbd>asc</kbd> or <kbd>desc</kbd></p>
+The second parameter lets you set the direction of the result. Options are <kbd>asc</kbd> or <kbd>desc</kbd> or <kbd>RAND()</kbd></p>
<code>$this->db->orderby("title", "desc");
<br /><br />// Produces: ORDER BY title DESC
|