PostgreSQL specifc class

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

 Methods

Connect to a PosgreSQL database

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

Parameters

$dsn

string

$username

string

$password

string

$options

array

Get a list of schemas for the current connection

get_schemas() : array

Returns

array

Empty a table

truncate(string $table) 

Parameters

$table

string