summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general
diff options
context:
space:
mode:
authorManu Ganji <manuganji@gmail.com>2014-05-22 12:55:23 +0200
committerManu Ganji <manuganji@gmail.com>2014-05-22 12:55:23 +0200
commit37c1f43908dd26b58272e22aa50f369757747e62 (patch)
tree437c2f30e71b33fb10014994c3d78215f2c77776 /user_guide_src/source/general
parentbcd237e0044d950c0bc3e559b34d3c1b8ea51deb (diff)
Update profiling.rst
There is some confusion about how to enable profiling for queries. This will save some time for devs who want to debug their generated SQL.
Diffstat (limited to 'user_guide_src/source/general')
-rw-r--r--user_guide_src/source/general/profiling.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/user_guide_src/source/general/profiling.rst b/user_guide_src/source/general/profiling.rst
index f29af8102..4945b39b3 100644
--- a/user_guide_src/source/general/profiling.rst
+++ b/user_guide_src/source/general/profiling.rst
@@ -82,6 +82,8 @@ Key Description
hidden.
======================= =================================================================== ========
-.. note:: Disabling the **save_queries** setting in your database configuration
+.. note:: Disabling the [save_queries](http://ellislab.com/codeigniter/user-guide/database/configuration.html) setting in your database configuration
will also effectively disable profiling for database queries and render
- the 'queries' setting above useless. \ No newline at end of file
+ the 'queries' setting above useless. You can optionally override this
+ setting with `$this->db->save_queries = TRUE;`. Without this setting you
+ won't be able to view the queries or the [last_query](http://ellislab.com/codeigniter/user-guide/database/helpers.html).