1 select.inc public SelectQueryExtender::execute()

Executes the extended select query.

Return value

DatabaseStatementEmpty|DatabaseStatementInterface|false|int|PDOStatement|string|null:

File

core/includes/database/select.inc, line 840
Contains classes and interfaces for Select queries.

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function execute() {
  // By calling preExecute() here, we force it to preprocess the extender
  // object rather than just the base query object. That means
  // hook_query_alter() gets access to the extended object.
  if (!$this->preExecute($this)) {
    return NULL;
  }

  return $this->query->execute();
}