You are here

public function ConditionInterface::notExists in Drupal 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::notExists()
  2. 8 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::notExists()
Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::notExists()
  2. 10 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::notExists()

Sets a condition that the specified subquery returns no values.

Parameters

\Drupal\Core\Database\Query\SelectInterface $select: The subquery that must not contain results.

Return value

$this The called object.

2 methods override ConditionInterface::notExists()
Condition::notExists in core/lib/Drupal/Core/Database/Query/Condition.php
Sets a condition that the specified subquery returns no values.
SelectExtender::notExists in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Sets a condition that the specified subquery returns no values.

File

core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 133

Class

ConditionInterface
Interface for a conditional clause in a query.

Namespace

Drupal\Core\Database\Query

Code

public function notExists(SelectInterface $select);