public function DatabaseCondition::isNotNull in Drupal 7
Implements QueryConditionInterface::isNotNull().
Overrides QueryConditionInterface::isNotNull
File
- includes/
database/ query.inc, line 1754 - 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');
}