function DatabaseStatementBase::__construct

File

includes/database/database.inc, line 2260

Class

DatabaseStatementBase
Default implementation of DatabaseStatementInterface.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.