I work with Phalcon\Db\Adapter\Pdo\Mysql directly. And i want to change default fetch mode.
In PDO i can do this:
$connection = new PDO($options); $connection->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ);
I work with Phalcon\Db\Adapter\Pdo\Mysql directly. And i want to change default fetch mode.
In PDO i can do this:
$connection = new PDO($options); $connection->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ);