1 prefetch.inc public DatabaseStatementPrefetch::__construct(DatabaseConnection $connection, $query, array $driver_options = array())

File

core/includes/database/prefetch.inc, line 125
Database interface code for engines that need complete control over their result sets.

Class

DatabaseStatementPrefetch
An implementation of DatabaseStatementInterface that prefetches all data.

Code

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