Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConditionAggregate.php

function ConditionAggregate::exists

Overrides ConditionAggregateInterface::exists

File

core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php, line 57

Class

ConditionAggregate
Defines the aggregate condition for sql based storage.

Namespace

Drupal\Core\Entity\Query\Sql

Code

public function exists($field, $function, $langcode = NULL) {
    return $this->condition($field, $function, NULL, 'IS NOT NULL', $langcode);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal