summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2010-01-17 08:07:13 +0100
committerDerek Allard <derek.allard@ellislab.com>2010-01-17 08:07:13 +0100
commit04eb070b87da9ffa40e48ef3660e664b48760c97 (patch)
treeb3b051f3265a6e320133ddb39c30608c7992999d /user_guide
parent1ca94e82c8fc8c2acf4bb7b3927abff736779163 (diff)
Documentd db->close()
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/changelog.html1
-rw-r--r--user_guide/database/connecting.html4
2 files changed, 4 insertions, 1 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index ceb016cf8..ba7ab2be7 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -77,6 +77,7 @@ SVN Revision: </p>
<li>Database
<ul>
<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>Documentd db->close().</li>
</ul>
</li>
<li>Helpers
diff --git a/user_guide/database/connecting.html b/user_guide/database/connecting.html
index fb766288e..217a23570 100644
--- a/user_guide/database/connecting.html
+++ b/user_guide/database/connecting.html
@@ -164,9 +164,11 @@ you can pass the connection values as indicated above).</p>
<code>$this->db->reconnect();</code>
+<h2>Manually closing the Connection</h2>
-
+<p>While CodeIgniter intelligently takes care of closing your database connections, you can explicitly close the connection.</p>
+<code>$this->db->close();</code>
</div>
<!-- END CONTENT -->