function ConditionInterface::notExists

Same name in this branch
  1. 8.9.x core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::notExists()
Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::notExists()
  2. 9 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::notExists()
  3. 10 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::notExists()
  4. 10 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::notExists()
  5. 11.x core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::notExists()
  6. 11.x core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::notExists()

Queries for the nonexistence of a field.

Parameters

string $field:

string $langcode:

Return value

$this

See also

\Drupal\Core\Entity\Query\QueryInterface::notExists()

3 methods override ConditionInterface::notExists()
Condition::notExists in core/lib/Drupal/Core/Config/Entity/Query/Condition.php
Queries for the nonexistence of a field.
Condition::notExists in core/lib/Drupal/Core/Entity/Query/Sql/Condition.php
Queries for the nonexistence of a field.
Condition::notExists in core/lib/Drupal/Core/Entity/Query/Null/Condition.php
Queries for the nonexistence of a field.

File

core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 62

Class

ConditionInterface
Defines the entity query condition interface.

Namespace

Drupal\Core\Entity\Query

Code

public function notExists($field, $langcode = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.