1.20.x select.inc | public SelectQueryExtender::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
- includes/
database/ select.inc, line 822
Class
- SelectQueryExtender
- The base extender class for Select queries.
Code
public function notExists(SelectQueryInterface $select) {
$this->query->notExists($select);
return $this;
}