MySQL specific class

Extends PDO to simplify cross-database issues
package Query
subpackage Drivers

 Methods

Connect to MySQL Database

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

Parameters

$dsn

string

$username

string

$password

string

$options

array

Empty a table

truncate(string $table) 

Parameters

$table

string

 Properties

 

Set the backtick as the MySQL escape character

$escape_char : string

Default

'`'