\Query\Drivers\FirebirdUtil

Firebird-specific backup, import and creation methods

Summary

Methods
Properties
Constants
__construct()
getDriver()
createTable()
deleteTable()
backupStructure()
backupData()
quoteIdent()
quoteTable()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$conn
N/A

Properties

Methods

__construct()

__construct(\Query\Drivers\DriverInterface  $conn) 

Save a reference to the connection object for later use

Parameters

\Query\Drivers\DriverInterface $conn

createTable()

createTable(string  $name, array  $fields, array  $constraints = array(), boolean  $ifNotExists = FALSE) : string

Convenience public function to generate sql for creating a db table

Parameters

string $name
array $fields
array $constraints
boolean $ifNotExists

Returns

string

deleteTable()

deleteTable(string  $name) : string

Drop the selected table

Parameters

string $name

Returns

string

backupStructure()

backupStructure() : string

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

Returns

string

backupData()

backupData(array  $exclude = array(), boolean  $systemTables = FALSE) : string

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

Parameters

array $exclude
boolean $systemTables

Returns

string

quoteIdent()

quoteIdent(string  $sql) : string

Parameters

string $sql

Returns

string

quoteTable()

quoteTable(string  $sql) : string

Parameters

string $sql

Returns

string