1 query.inc | public DatabaseCondition::isNull($field) |
Sets a condition that the specified field be NULL.
Parameters
string $field: The name of the field to check.
Return value
QueryConditionInterface: The called object.
Overrides QueryConditionInterface::isNull
File
- core/
includes/ database/ query.inc, line 1810 - 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');
}