diff options
-rw-r--r-- | user_guide/database/active_record.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html index aafef33b5..0146941ba 100644 --- a/user_guide/database/active_record.html +++ b/user_guide/database/active_record.html @@ -274,7 +274,7 @@ $this->db->or_where('id >', $id); $names = array('frank', 'Todd', 'James');<br />
$this->db->where_in('username', $names);<br />
// Produces: AND WHERE username IN ('frank', 'Todd', 'James')</code></p>
-<p>An optional third parameter can be used to specify if the WHERE statement should be separated with "OR" or "AND" in the event of multiple WHERE calls. The default is "AND".</p>
+<p>An optional third parameter can be used to specify if the WHERE statement should be separated with "OR" or "AND" in the event of multiple WHERE calls. The default is "AND". They are called with 'and', 'or'.</p>
<p><code>$names = array('frank', 'Todd', 'James');<br />
<br />
$this->db->where('usergroup', '5')<br />
|