public function DatabaseCondition::notExists in Drupal 7
Implements QueryConditionInterface::notExists().
Overrides QueryConditionInterface::notExists
File
- includes/
database/ query.inc, line 1768 - Non-specific Database query code. Used by all engines.
Class
- DatabaseCondition
- Generic class for a series of conditions in a query.
Code
public function notExists(SelectQueryInterface $select) {
return $this
->condition('', $select, 'NOT EXISTS');
}