function SelectInterface::havingConditions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::havingConditions()
  2. 8.9.x core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::havingConditions()
  3. 11.x 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
SelectExtender::havingConditions in core/lib/Drupal/Core/Database/Query/SelectExtender.php

File

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

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function &havingConditions();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.