MySQL-specific backup, import and creation methods

package Query
subpackage Drivers

 Methods

Create an SQL backup file for the current database's data

backup_data(array $exclude = array()) : string

Parameters

$exclude

array

Returns

string

Create an SQL backup file for the current database's structure

backup_structure() : string

Returns

string

Convienience public function for creating a new MySQL table

create_table(string $name, array $columns, array $constraints = array(), array $indexes = array()) : string
codeCoverageIgnore
deprecated

Parameters

$name

string

$columns

array

$constraints

array

$indexes

array

Returns

string

Convience public function for droping a table

delete_table(string $name) : string

Parameters

$name

string

Returns

string

driver_query()

driver_query() : 
magic
method

Returns

get_dbs()

get_dbs() : 
magic
method

Returns

get_system_tables()

get_system_tables() : 
magic
method

Returns

get_tables()

get_tables() : 
magic
method

Returns

query()

query() : 
magic
method

Returns

quote()

quote() : 
magic
method

Returns