1.20.x query.inc public QueryConditionInterface::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.

File

includes/database/query.inc, line 92
Non-specific Database query code. Used by all engines.

Class

QueryConditionInterface
Interface for a conditional clause in a query.

Code

public function exists(SelectQueryInterface $select);