summaryrefslogtreecommitdiffstats
path: root/user_guide/database/helpers.html
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-26 01:26:12 +0200
committeradmin <devnull@localhost>2006-09-26 01:26:12 +0200
commitd125c5c9e9cf3d53e4d6e166e7b44001d02191a3 (patch)
tree68f1fea8ebafb7e37dfb60a0d12de5c28ebc7ed9 /user_guide/database/helpers.html
parent3b60ae4ea69a5cfda4561dafd502f8dcc742222e (diff)
Diffstat (limited to 'user_guide/database/helpers.html')
-rw-r--r--user_guide/database/helpers.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/user_guide/database/helpers.html b/user_guide/database/helpers.html
index 204116696..1d1fb37ad 100644
--- a/user_guide/database/helpers.html
+++ b/user_guide/database/helpers.html
@@ -76,13 +76,18 @@ Query Helpers
correct number of affected rows. By default this hack is enabled but it can be turned off in the database driver file.</p>
+<h2>$this->db->platform()</h2>
+<p>Outputs the database platform you are running (MySQL, MS SQL, Postgre, etc...):</p>
+<code>echo $this->db->platform();</code>
+
+
<h2>$this->db->version()</h2>
<p>Outputs the database version you are running:</p>
-
<code>echo $this->db->version();</code>
-<h2>$this->db->last_query();</h2>
+
+<h2>$this->db->last_query();</h2>
<p>Returns the last query that was run (the query string, not the result). Example:</p>
<code>$str = $this->db->last_query();<br />