You are here

public function QueryAggregate::notExistsAggregate in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php \Drupal\Core\Entity\Query\Sql\QueryAggregate::notExistsAggregate()
  2. 10 core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php \Drupal\Core\Entity\Query\Sql\QueryAggregate::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/Sql/QueryAggregate.php, line 64

Class

QueryAggregate
The SQL storage entity query aggregate class.

Namespace

Drupal\Core\Entity\Query\Sql

Code

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