Firebird-specific backup, import and creation methods

package Query
subpackage Drivers

 Methods

Save a reference to the current connection object

__construct(object $conn) : void

Parameters

$conn

object

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

backup_data(array $exclude = array(), bool $system_tables = FALSE) : string

Parameters

$exclude

array

$system_tables

bool

Returns

string

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

backup_structure() : string

Returns

string

Convienience public function to generate sql for creating a db table

create_table(string $name, array $fields, array $constraints = array(), array $indexes = array()) : string

Parameters

$name

string

$fields

array

$constraints

array

$indexes

array

Returns

string

Drop the selected table

delete_table(string $name) : string

Parameters

$name

string

Returns

string