package |
Query |
subpackage |
Drivers |
Methods
Enable calling driver methods
__call(string $method, array $args) : mixed
Parameters
$method
string
$args
array
Returns
mixed
Save a reference to the connection object for later use
__construct(object $conn)
Return an SQL file with the database data as insert statements
backup_data() : string
Return an SQL file with the database table structure
backup_structure() : string
Convienience public function to generate sql for creating a db table
create_table(string $name, array $fields, array $constraints = array()
) : string
Parameters
$name
string
$fields
array
$constraints
array
Returns
string
Drop the selected table
delete_table(string $name) : string
Parameters
$name
string
Returns
string
quote_ident()
quote_ident() :
quote_table()
quote_table() :
Properties
Reference to the current connection object
$conn