There is no license information available for the latest version (dev-master) of this package.

Very simple mysql client library based on PDO with placeholders support.

dev-master 2014-02-05 23:40 UTC

This package is auto-updated.

Last update: 2024-10-22 00:18:28 UTC


README

Very simple mysql client library based on PDO with placeholders support.

Example:

$db = new \EugeniyPetrov\Mysql('127.0.0.1', 3306, 'root', '', 'test', 'utf8');
echo $db->one('SELECT NOW()') . "\n";

print_r($db->all('SHOW TABLES LIKE :prefix', array(
    'prefix' => 'a%',
)));