SQL Instance

Simple SQL Implementation.


MySQL

Implementation MySQL instance.

$sql = new \Samy\Sql\MySql($host, $username, $password, $database, $port = 3306);

PostgreSQL

Implementation PostgreSQL instance.

$sql = new \Samy\Sql\PostgreSql($host, $username, $password, $database, $port = 5432);