public function StatementPrefetch::__construct

File

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

Class

StatementPrefetch
An implementation of DatabaseStatementInterface that prefetches all data.

Namespace

Drupal\Core\Database

Code

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