diff options
author | Derek Jones <derek.jones@ellislab.com> | 2011-10-18 04:24:27 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2011-10-18 04:24:27 +0200 |
commit | 84bcc6e9b8b1648d3a52102d2a96d617c60508f0 (patch) | |
tree | 3098573b8a45eb44fe1be6650233ecd038b5cb3a /user_guide_src/source/database | |
parent | caa1db64141cc8bfbdbe3a4f6f7b639331d5d3ba (diff) |
fixed typo in AR docs. NOTE: Sphinx gives a ReST error for unknown title targets, but they do exist, and links are built properly
Diffstat (limited to 'user_guide_src/source/database')
-rw-r--r-- | user_guide_src/source/database/active_record.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user_guide_src/source/database/active_record.rst b/user_guide_src/source/database/active_record.rst index 7230812de..5555a30bc 100644 --- a/user_guide_src/source/database/active_record.rst +++ b/user_guide_src/source/database/active_record.rst @@ -79,11 +79,12 @@ will be reset (by default it will be—just like `$this->db->get()`):: // Produces string: SELECT title, content, date FROM mytable The key thing to notice in the above example is that the second query did not -utlize `$this->db->from()`_ and did not pass a table name into the first +utilize `$this->db->from()`_ and did not pass a table name into the first parameter. The reason for this outcome is because the query has not been executed using `$this->db->get()`_ which resets values or reset directly using `$this-db->reset_query()`_. + $this->db->get_where() ====================== |