1.20.x query.inc public DatabaseCondition::isNull($field)

Implements QueryConditionInterface::isNull().

Overrides QueryConditionInterface::isNull

File

includes/database/query.inc, line 1777
Non-specific Database query code. Used by all engines.

Class

DatabaseCondition
Generic class for a series of conditions in a query.

Code

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