protected function DatabaseStatementBase::__construct

File

drupal/includes/database/database.inc, line 2204
Core systems for the database layer.

Class

DatabaseStatementBase
Default implementation of DatabaseStatementInterface.

Code

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