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

Implements QueryConditionInterface::isNotNull().

Overrides QueryConditionInterface::isNotNull

File

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

Class

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

Code

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