You are here

public function Select::havingCompile in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/Select.php \Drupal\Core\Database\Query\Select::havingCompile()

Compiles the HAVING clause for later retrieval.

Parameters

$connection: The database connection for which to compile the clause.

Overrides SelectInterface::havingCompile

File

core/lib/Drupal/Core/Database/Query/Select.php, line 313

Class

Select
Query builder for SELECT statements.

Namespace

Drupal\Core\Database\Query

Code

public function havingCompile(Connection $connection) {
  $this->having
    ->compile($connection, $this);
}