Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SelectInterface.php

function 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 538

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function &havingConditions();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal