SQLite-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 $excluded = array()) : string

Parameters

$excluded

array

Returns

string

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

backup_structure() : string

Returns

string

Convenience public function to create a new table

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

Parameters

$name

string

//Name of the table

$columns

array

//columns as straight array and/or column => type pairs

$constraints

array

// column => constraint pairs

$indexes

array

// column => index pairs

Returns

string

SQL to drop the specified table

delete_table(string $name) : string

Parameters

$name

string

Returns

string

query()

query() : 
magic
method

Returns

quote()

quote() : 
magic
method

Returns