ODBC Database Driver

For general database access for databases not specified by the main drivers
package Query
subpackage Drivers

 Methods

Use ODBC to connect to a database

__construct(string $dsn, string $username = null, string $password = null, array $options = array()

Parameters

$dsn

string

$username

string

$password

string

$options

array

Create sql for batch insert

insert_batch(string $table, array $data = array()) : string

Parameters

$table

string

$data

array

Returns

string

Empty the current database

truncate(string $table) : void

Parameters

$table

string

 Properties

 

Don't define the escape char - or define it in sub-drivers in a refactor

$escape_char 

Default

''