public function ConditionInterface::isNull

Sets a condition that the specified field be NULL.

Parameters

$field: The name of the field to check.

Return value

Drupal\Core\Database\Query\ConditionInterface The called object.

6 methods override ConditionInterface::isNull()
Condition::isNull in drupal/core/lib/Drupal/Core/Database/Query/Condition.php
Implements Drupal\Core\Database\Query\ConditionInterface::isNull().
Delete::isNull in drupal/core/lib/Drupal/Core/Database/Query/Delete.php
Implements Drupal\Core\Database\Query\ConditionInterface::isNull().
Merge::isNull in drupal/core/lib/Drupal/Core/Database/Query/Merge.php
Implements Drupal\Core\Database\Query\ConditionInterface::isNull().
Select::isNull in drupal/core/lib/Drupal/Core/Database/Query/Select.php
Sets a condition that the specified field be NULL.
SelectExtender::isNull in drupal/core/lib/Drupal/Core/Database/Query/SelectExtender.php
Sets a condition that the specified field be NULL.

... See full list

File

drupal/core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 70
Definition of Drupal\Core\Database\Query\ConditionInterface

Class

ConditionInterface
Interface for a conditional clause in a query.

Namespace

Drupal\Core\Database\Query

Code

public function isNull($field);