function SelectExtender::preExecute
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::preExecute()
- 8.9.x core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::preExecute()
- 11.x core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::preExecute()
Overrides SelectInterface::preExecute
3 calls to SelectExtender::preExecute()
- PagerSelectExtender::execute in core/
lib/ Drupal/ Core/ Database/ Query/ PagerSelectExtender.php - Override the execute method.
- SearchQuery::preExecute in core/
modules/ search/ src/ SearchQuery.php - Generic preparation and validation for a SELECT query.
- SelectExtender::execute in core/
lib/ Drupal/ Core/ Database/ Query/ SelectExtender.php - Runs the query against the database.
1 method overrides SelectExtender::preExecute()
- SearchQuery::preExecute in core/
modules/ search/ src/ SearchQuery.php - Generic preparation and validation for a SELECT query.
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ SelectExtender.php, line 309
Class
- SelectExtender
- The base extender class for Select queries.
Namespace
Drupal\Core\Database\QueryCode
public function preExecute(?SelectInterface $query = NULL) {
// If no query object is passed in, use $this.
if (!isset($query)) {
$query = $this;
}
return $this->query
->preExecute($query);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.