public function StatementPrefetch::__construct

File

drupal/core/lib/Drupal/Core/Database/StatementPrefetch.php, line 134
Definition of Drupal\Core\Database\StatementPrefetch

Class

StatementPrefetch
An implementation of StatementInterface that prefetches all data.

Namespace

Drupal\Core\Database

Code

public function __construct(PDO $dbh, Connection $connection, $query, array $driver_options = array()) {
  $this->dbh = $dbh;
  $this->connection = $connection;
  $this->queryString = $query;
  $this->driverOptions = $driver_options;
}