diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-08-06 20:01:38 +0200 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-08-06 20:01:38 +0200 |
commit | 88f8d9f4c9d590cc14e71cd77f34e5e2abe57e21 (patch) | |
tree | 41c1c9552eb1c1c35293524eb5d5791189547876 /user_guide | |
parent | 0f6b7c1ce0f0122ba162dc579a34a73438d4955a (diff) |
Removing the following deprecated database methods: orwhere, orlike, groupby, orhaving, orderby, getwhere.
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/changelog.html | 1 | ||||
-rw-r--r-- | user_guide/database/active_record.html | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index f32ee58b3..7e86ba4eb 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -109,6 +109,7 @@ Hg Tag: </p> <li>Semantic change to db->version() function to allow a list of exceptions for databases with functions to return version string instead of specially formed SQL queries. Currently this list only includes Oracle and SQLite.</li> <li>Fixed a bug where driver specific table identifier protection could lead to malformed queries in the <kbd>field_data()</kbd> functions.</li> <li>Fixed a bug where an undefined class variable was referenced in database drivers.</li> + <li>Removed the following deprecated functions: orwhere, orlike, groupby, orhaving, orderby, getwhere.</li> </ul> </li> <li>Helpers diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html index 2c12d628e..482115ccd 100644 --- a/user_guide/database/active_record.html +++ b/user_guide/database/active_record.html @@ -116,7 +116,7 @@ instead of using the db->where() function:</p> <code>$query = $this->db->get_where('mytable', array('id' => $id), $limit, $offset);</code> <p>Please read the about the where function below for more information.</p> -<p class="important">Note: get_where() was formerly known as getwhere(), which has been deprecated</p> +<p class="important">Note: get_where() was formerly known as getwhere(), which has been removed</p> <h2>$this->db->select();</h2> <p>Permits you to write the SELECT portion of your query:</p> @@ -274,7 +274,7 @@ $this->db->or_where('id >', $id); <br /> <br />// Produces: WHERE name != 'Joe' OR id > 50</code> -<p class="important">Note: or_where() was formerly known as orwhere(), which has been deprecated.</p> +<p class="important">Note: or_where() was formerly known as orwhere(), which has been removed.</p> <h2>$this->db->where_in();</h2> @@ -356,7 +356,7 @@ $this->db->or_like('body', $match); -<p class="important">Note: or_like() was formerly known as orlike(), which has been deprecated.</p> +<p class="important">Note: or_like() was formerly known as orlike(), which has been removed.</p> <h2>$this->db->not_like();</h2> <p>This function is identical to <strong>like()</strong>, except that it generates NOT LIKE statements:</p> <code> $this->db->not_like('title', 'match');<br /> @@ -381,7 +381,7 @@ $this->db->or_not_like('body', 'match'); <br /> <br /> <br />// Produces: GROUP BY title, date</code> -<p class="important">Note: group_by() was formerly known as groupby(), which has been deprecated. </p> +<p class="important">Note: group_by() was formerly known as groupby(), which has been removed. </p> <h2> $this->db->distinct();<br /> </h2> @@ -439,7 +439,7 @@ The second parameter lets you set the direction of the result. Options are <kbd <br /> // Produces: ORDER BY title DESC, name ASC </code></p> -<p class="important">Note: order_by() was formerly known as orderby(), which has been deprecated.</p> +<p class="important">Note: order_by() was formerly known as orderby(), which has been removed.</p> <p class="important">Note: random ordering is not currently supported in Oracle or MSSQL drivers. These will default to 'ASC'.</p> <h2>$this->db->limit();</h2> <p>Lets you limit the number of rows you would like returned by the query:</p> |