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

Breadcrumb

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

function SelectExtender::having

Overrides SelectInterface::having

1 call to SelectExtender::having()
SearchQuery::prepareAndNormalize in core/modules/search/src/SearchQuery.php
Prepares the query and calculates the normalization factor.

File

core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 173

Class

SelectExtender
The base extender class for Select queries.

Namespace

Drupal\Core\Database\Query

Code

public function having($snippet, $args = []) {
    $this->query
        ->having($snippet, $args);
    return $this;
}
RSS feed
Powered by Drupal