summaryrefslogtreecommitdiffstats
path: root/user_guide
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
parent91948fb49e1c6d28e5c06f4e8f8ec8906aa7bb50 (diff)
Removed "rand()" as a listed option from orderby in the Active Record, as it was MySQL only.
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/changelog.html1
-rw-r--r--user_guide/database/active_record.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 730bfa343..d03fab5c8 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -70,6 +70,7 @@ Change Log
<li>Added <dfn>$assign_to_controller</dfn> variable in the main <kbd>index.php</kbd> file. Anything that this variable contains will be passed automatically to a controller constructor when initialized.</li>
<li>Reorganized the URI and Routes classes for better clarity.</li>
<li>Javascript Calendar plugin now uses the months and days from the calendar language file, instead of hard-coded values, internationalizing it </li>
+ <li>Removed &quot;rand()&quot; as a listed option from orderby in the <a href="./database/active_record.html">Active Record</a>, as it was MySQL only. </li>
<li>Added titles to all user manual pages </li>
<li>Fixed a bug in database driver where num_rows property wasn't getting updated </li>
<li>Fixed a bug in captcha calling an invalid PHP function</li>
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