summaryrefslogtreecommitdiffstats
path: root/user_guide/database
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-08-10 13:26:01 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-08-10 13:26:01 +0200
commit9278249cd356411dc949dd5a6dacc5b07fd4be81 (patch)
tree229b6eda532d4394440c073756acdaf149af2170 /user_guide/database
parent91948fb49e1c6d28e5c06f4e8f8ec8906aa7bb50 (diff)
Removed "rand()" as a listed option from orderby in the Active Record, as it was MySQL only.
Diffstat (limited to 'user_guide/database')
-rw-r--r--user_guide/database/active_record.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index 37629ae15..504f1831d 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/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> or <kbd>RAND()</kbd></p>
+The second parameter lets you set the direction of the result. Options are <kbd>asc</kbd> or <kbd>desc</kbd></p>
<code>$this->db->orderby("title", "desc");
<br /><br />// Produces: ORDER BY title DESC