SelectQuery::notExists
public function SelectQuery::notExists
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
- includes/database/select.inc, line 1068
Class
- SelectQuery
- Query builder for SELECT statements.
Code
public function notExists(SelectQueryInterface $select) { $this->where->notExists($select); return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!select.inc/function/SelectQuery::notExists/7.x