Sets a condition that the specified subquery returns values.
Parameters
Drupal\Core\Database\Query\SelectInterface $select:
The subquery that must contain results.
Return value
Drupal\Core\Database\Query\ConditionInterface
The called object.
File
- drupal/core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 92
- Definition of Drupal\Core\Database\Query\ConditionInterface
Class
- ConditionInterface
- Interface for a conditional clause in a query.
Namespace
Drupal\Core\Database\Query
Code
public function exists(SelectInterface $select);