package |
Query |
subpackage |
Query |
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
Get database-specific sql to create a new table
create_table(string $name, array $columns, array $constraints, array $indexes) : string
Parameters
$name
string
$columns
array
$constraints
array
$indexes
array
Returns
string
Get database-specific sql to drop a table
delete_table(string $name) : string
Parameters
$name
string
Returns
string
Properties
Reference to the current connection object
$conn