public function ConditionInterface::exists in Drupal 10
Same name in this branch
- 10 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::exists()
- 10 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::exists()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::exists()
- 9 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::exists()
Sets a condition that the specified subquery returns values.
Parameters
\Drupal\Core\Database\Query\SelectInterface $select: The subquery that must contain results.
Return value
$this The called object.
2 methods override ConditionInterface::exists()
- Condition::exists in core/
lib/ Drupal/ Core/ Database/ Query/ Condition.php - Sets a condition that the specified subquery returns values.
- SelectExtender::exists in core/
lib/ Drupal/ Core/ Database/ Query/ SelectExtender.php - Sets a condition that the specified subquery returns values.
File
- core/
lib/ Drupal/ Core/ Database/ Query/ ConditionInterface.php, line 122
Class
- ConditionInterface
- Interface for a conditional clause in a query.
Namespace
Drupal\Core\Database\QueryCode
public function exists(SelectInterface $select);