You are here

public function Condition::notExists in Apigee Edge 8

Queries for the nonexistence of a field.

Parameters

string $field:

string $langcode:

Return value

$this

Overrides ConditionInterface::notExists

See also

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

File

src/Entity/Query/Condition.php, line 41

Class

Condition
Defines the condition class for the Apigee Edge entity query.

Namespace

Drupal\apigee_edge\Entity\Query

Code

public function notExists($field, $langcode = NULL) {
  return $this
    ->condition($field, NULL, 'IS NULL', $langcode);
}