You are here

public function SelectExtender::havingCompile in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::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/SelectExtender.php, line 181

Class

SelectExtender
The base extender class for Select queries.

Namespace

Drupal\Core\Database\Query

Code

public function havingCompile(Connection $connection) {
  return $this->query
    ->havingCompile($connection);
}