function SelectExtender::condition
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::condition()
- 10 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::condition()
- 11.x core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::condition()
Overrides ConditionInterface::condition
2 calls to SelectExtender::condition()
- SearchQuery::execute in core/
modules/ search/ src/ SearchQuery.php - Executes the search.
- SearchQuery::prepareAndNormalize in core/
modules/ search/ src/ SearchQuery.php - Prepares the query and calculates the normalization factor.
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ SelectExtender.php, line 107
Class
- SelectExtender
- The base extender class for Select queries.
Namespace
Drupal\Core\Database\QueryCode
public function condition($field, $value = NULL, $operator = '=') {
$this->query
->condition($field, $value, $operator);
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.