public function SelectQueryExtender::__construct

7.x select.inc public SelectQueryExtender::__construct(SelectQueryInterface $query, DatabaseConnection $connection)
2 methods override SelectQueryExtender::__construct()

File

drupal/includes/database/select.inc, line 561

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function __construct(SelectQueryInterface $query, DatabaseConnection $connection) {
  $this->uniqueIdentifier = uniqid('', TRUE);
  $this->query = $query;
  $this->connection = $connection;
}