SelectQueryExtender::exists
public function SelectQueryExtender::exists
public SelectQueryExtender::exists(SelectQueryInterface $select)
Sets a condition that the specified subquery returns values.
Parameters
SelectQueryInterface $select: The subquery that must contain results.
Return value
QueryConditionInterface The called object.
Overrides QueryConditionInterface::exists
File
- includes/database/select.inc, line 809
Class
- SelectQueryExtender
- The base extender class for Select queries.
Code
public function exists(SelectQueryInterface $select) { $this->query->exists($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/SelectQueryExtender::exists/7.x