You are here

protected function Statement::__construct in Drupal driver for SQL Server and SQL Azure 8.2

Same name and namespace in other branches
  1. 8 drivers/lib/Drupal/Driver/Database/sqlsrv/Statement.php \Drupal\Driver\Database\sqlsrv\Statement::__construct()

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Statement.php, line 32
Definition of Drupal\Driver\Database\sqlsrv\Statement

Class

Statement

Namespace

Drupal\Driver\Database\sqlsrv

Code

protected function __construct(Connection $dbh) {
  $this->allowRowCount = true;
  $this->dbh = $dbh;
  $this
    ->setFetchMode(\PDO::FETCH_OBJ);
}