You are here

public function SelectInterface::havingConditions in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::havingConditions()

Gets a list of all conditions in the HAVING clause.

This method returns by reference. That allows alter hooks to access the data structure directly and manipulate it before it gets compiled.

Return value

array An array of conditions.

See also

\Drupal\Core\Database\Query\ConditionInterface::conditions()

2 methods override SelectInterface::havingConditions()
Select::havingConditions in core/lib/Drupal/Core/Database/Query/Select.php
Gets a list of all conditions in the HAVING clause.
SelectExtender::havingConditions in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Gets a list of all conditions in the HAVING clause.

File

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

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function &havingConditions();