Closed MitchProbst closed 8 years ago
Creating a new Database instance with SQLSRV throws the following:
The given attribute is only supported on the PDOStatement object.
$pdo = new \Slim\PDO\Database($dsn, $username, $password);
If I comment out the following line, the error doesn't get thrown and I can use the database object as intended.
\PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION,
Creating a new Database instance with SQLSRV throws the following:
If I comment out the following line, the error doesn't get thrown and I can use the database object as intended.