From 9278249cd356411dc949dd5a6dacc5b07fd4be81 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Fri, 10 Aug 2007 11:26:01 +0000 Subject: Removed "rand()" as a listed option from orderby in the Active Record, as it was MySQL only. --- user_guide/database/active_record.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/database') 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);

$this->db->orderby();

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 asc or desc or RAND()

+The second parameter lets you set the direction of the result. Options are asc or desc

$this->db->orderby("title", "desc");

// Produces: ORDER BY title DESC -- cgit v1.2.3-24-g4f1b