Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::havingIsNotNull()
  2. 9 core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::havingIsNotNull()

Sets a condition in the HAVING clause that the specified field be NOT NULL.

Parameters

$field: The name of the field to check.

Return value

$this

1 method overrides SelectInterface::havingIsNotNull()
SelectExtender::havingIsNotNull in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Sets a condition in the HAVING clause that the specified field be NOT NULL.

File

core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 587

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function havingIsNotNull($field);