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

Breadcrumb

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

function ConditionInterface::isNotNull

Sets a condition that the specified field be NOT NULL.

Parameters

string|\Drupal\Core\Database\Query\SelectInterface $field: The name of the field or a subquery to check.

Return value

$this The called object.

2 methods override ConditionInterface::isNotNull()
Condition::isNotNull in core/lib/Drupal/Core/Database/Query/Condition.php
Sets a condition that the specified field be NOT NULL.
SelectExtender::isNotNull in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Sets a condition that the specified field be NOT NULL.

File

core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 111

Class

ConditionInterface
Interface for a conditional clause in a query.

Namespace

Drupal\Core\Database\Query

Code

public function isNotNull($field);

API Navigation

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