CI_DB_mysqli_utility Class Reference

Inheritance diagram for CI_DB_mysqli_utility:
Collaboration diagram for CI_DB_mysqli_utility:

List of all members.


Public Member Functions

 _list_databases ()
 List databases.
 _optimize_table ($table)
 Optimize table query.
 _repair_table ($table)
 Repair table query.
 _backup ($params=array())
 MySQLi Export.
 _create_database ($name)
 The functions below have been deprecated as of 1.6, and are only here for backwards compatibility.
 _drop_database ($name)
 Drop database.

Detailed Description

Definition at line 25 of file mysqli_utility.php.


Member Function Documentation

CI_DB_mysqli_utility::_backup ( params = array()  ) 

MySQLi Export.

private

Parameters:
array Preferences
Returns:
mixed

Definition at line 79 of file mysqli_utility.php.

00080         {
00081                 // Currently unsupported
00082                 return $this->db->display_error('db_unsuported_feature');
00083         }

CI_DB_mysqli_utility::_create_database ( name  ) 

The functions below have been deprecated as of 1.6, and are only here for backwards compatibility.

They now reside in dbforge(). The use of dbutils for database manipulation is STRONGLY discouraged in favour if using dbforge. Create database private

Parameters:
string the database name
Returns:
bool

Definition at line 101 of file mysqli_utility.php.

00102         {
00103                 return "CREATE DATABASE ".$name;
00104         }

CI_DB_mysqli_utility::_drop_database ( name  ) 

Drop database.

private

Parameters:
string the database name
Returns:
bool

Definition at line 115 of file mysqli_utility.php.

00116         {
00117                 return "DROP DATABASE ".$name;
00118         }

CI_DB_mysqli_utility::_list_databases (  ) 

List databases.

private

Returns:
bool

Definition at line 33 of file mysqli_utility.php.

00034         {
00035                 return "SHOW DATABASES";
00036         }

CI_DB_mysqli_utility::_optimize_table ( table  ) 

Optimize table query.

Generates a platform-specific query so that a table can be optimized

private

Parameters:
string the table name
Returns:
object

Definition at line 49 of file mysqli_utility.php.

00050         {
00051                 return "OPTIMIZE TABLE ".$this->db->_escape_identifiers($table);
00052         }

CI_DB_mysqli_utility::_repair_table ( table  ) 

Repair table query.

Generates a platform-specific query so that a table can be repaired

private

Parameters:
string the table name
Returns:
object

Definition at line 65 of file mysqli_utility.php.

00066         {
00067                 return "REPAIR TABLE ".$this->db->_escape_identifiers($table);
00068         }


The documentation for this class was generated from the following file: