You are here

public function Query::notExistsAggregate in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Query/Null/Query.php \Drupal\Core\Entity\Query\Null\Query::notExistsAggregate()

Queries for the nonexistence of a field.

Parameters

string $field: The name of a field.

string $function: The aggregate function.

string $langcode: (optional) The language code.

Return value

$this The called object.

Overrides QueryAggregateInterface::notExistsAggregate

File

core/lib/Drupal/Core/Entity/Query/Null/Query.php, line 35

Class

Query
Defines the entity query for configuration entities.

Namespace

Drupal\Core\Entity\Query\Null

Code

public function notExistsAggregate($field, $function, $langcode = NULL) {
  return $this->conditionAggregate
    ->notExists($field, $function, $langcode);
}