function QueryConditionInterface::exists

Sets a condition that the specified subquery returns values.

Parameters

SelectQueryInterface $select: The subquery that must contain results.

Return value

QueryConditionInterface The called object.

6 methods override QueryConditionInterface::exists()
DatabaseCondition::exists in includes/database/query.inc
Implements QueryConditionInterface::exists().
DeleteQuery::exists in includes/database/query.inc
Implements QueryConditionInterface::exists().
MergeQuery::exists in includes/database/query.inc
Implements QueryConditionInterface::exists().
SelectQuery::exists in includes/database/select.inc
Sets a condition that the specified subquery returns values.
SelectQueryExtender::exists in includes/database/select.inc
Sets a condition that the specified subquery returns values.

... See full list

File

includes/database/query.inc, line 93

Class

QueryConditionInterface
Interface for a conditional clause in a query.

Code

public function exists(SelectQueryInterface $select);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.