function ConditionAggregate::exists
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php \Drupal\Core\Entity\Query\Sql\ConditionAggregate::exists()
- 10 core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php \Drupal\Core\Entity\Query\Sql\ConditionAggregate::exists()
- 11.x core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php \Drupal\Core\Entity\Query\Sql\ConditionAggregate::exists()
Overrides ConditionAggregateInterface::exists
File
-
core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ ConditionAggregate.php, line 50
Class
- ConditionAggregate
- Defines the aggregate condition for sql based storage.
Namespace
Drupal\Core\Entity\Query\SqlCode
public function exists($field, $function, $langcode = NULL) {
return $this->condition($field, $function, NULL, 'IS NOT NULL', $langcode);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.