public function SelectQuery::notExists

7.x select.inc public SelectQuery::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

drupal-7.x/includes/database/select.inc, line 1067

Class

SelectQuery
Query builder for SELECT statements.

Code

public function notExists(SelectQueryInterface $select) {
  $this->where->notExists($select);
  return $this;
}