public function SelectExtender::isNotNull in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::isNotNull()
- 9 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::isNotNull()
Sets a condition that the specified field be NOT NULL.
Parameters
string|\Drupal\Core\Database\Query\SelectInterface $field: The name of the field or a subquery to check.
Return value
$this The called object.
Overrides ConditionInterface::isNotNull
File
- core/
lib/ Drupal/ Core/ Database/ Query/ SelectExtender.php, line 456
Class
- SelectExtender
- The base extender class for Select queries.
Namespace
Drupal\Core\Database\QueryCode
public function isNotNull($field) {
$this->query
->isNotNull($field);
return $this;
}