1 query.inc | public DatabaseCondition::notExists(SelectQueryInterface $select) |
Sets a condition that the specified subquery returns no values.
Parameters
SelectQueryInterface $select: The subquery that must not contain results.
Return value
QueryConditionInterface: The called object.
Overrides QueryConditionInterface::notExists
File
- core/
includes/ database/ query.inc, line 1831 - 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');
}