Posgres-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

Database-specific method to create a new table

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

Parameters

$name

string

$columns

array

$constraints

array

$indexes

array

Returns

string

Database-specific SQL for dropping a table

delete_table(string $name) : string

Parameters

$name

string

Returns

string

get_tables()

get_tables() : 
magic
method

Returns

query()

query() : 
magic
method

Returns