From d125c5c9e9cf3d53e4d6e166e7b44001d02191a3 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 25 Sep 2006 23:26:12 +0000 Subject: --- user_guide/database/active_record.html | 2 +- user_guide/database/call_function.html | 2 +- user_guide/database/fields.html | 4 ++-- user_guide/database/helpers.html | 9 +++++++-- user_guide/database/index.html | 4 ++-- user_guide/database/transactions.html | 17 ++++++++++------- 6 files changed, 23 insertions(+), 15 deletions(-) diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html index 5492ddb4c..8f18a32c4 100644 --- a/user_guide/database/active_record.html +++ b/user_guide/database/active_record.html @@ -601,7 +601,7 @@ Previous Topic:  Query Results    ·   Top of Page   ·   User Guide Home   ·   -Next Topic:  Field Metadata +Next Topic:  Transactions

Code Igniter  ·  Copyright © 2006  ·  pMachine, Inc.

diff --git a/user_guide/database/call_function.html b/user_guide/database/call_function.html index e5584e9ef..6b52cfc14 100644 --- a/user_guide/database/call_function.html +++ b/user_guide/database/call_function.html @@ -114,7 +114,7 @@ Previous Topic:  Field MetaData    ·   Top of Page   ·   User Guide Home   ·   -Next Topic:  Email Class +Next Topic:  Utilities Class

Code Igniter  ·  Copyright © 2006  ·  pMachine, Inc.

diff --git a/user_guide/database/fields.html b/user_guide/database/fields.html index ecb6fcb45..290a7ec4f 100644 --- a/user_guide/database/fields.html +++ b/user_guide/database/fields.html @@ -149,11 +149,11 @@ $fields = $query->field_data(); 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.

+

$this->db->platform()

+

Outputs the database platform you are running (MySQL, MS SQL, Postgre, etc...):

+echo $this->db->platform(); + +

$this->db->version()

Outputs the database version you are running:

- echo $this->db->version(); -

$this->db->last_query();

+ +

$this->db->last_query();

Returns the last query that was run (the query string, not the result). Example:

$str = $this->db->last_query();
diff --git a/user_guide/database/index.html b/user_guide/database/index.html index 0344d0258..2aba1dda1 100644 --- a/user_guide/database/index.html +++ b/user_guide/database/index.html @@ -77,8 +77,8 @@ structures and Active Record patterns. The database functions offer clear, simpl
  • Active Record Class
  • Transactions
  • Field MetaData
  • -
  • Table MetaData
  • Custom Function Calls
  • +
  • Database Utilities Class
  • @@ -88,7 +88,7 @@ structures and Active Record patterns. The database functions offer clear, simpl