yii\sphinx\QueryBuilder::buildHaving PHP Метод

buildHaving() публичный Метод

public buildHaving ( string[] $indexes, string | array $condition, array &$params ) : string
$indexes string[] list of index names, which affected by query
$condition string | array
$params array the binding parameters to be populated
Результат string the HAVING clause built from [[Query::$having]].
    public function buildHaving($indexes, $condition, &$params)
    {
        if (empty($condition)) {
            return '';
        }
        $indexSchemas = $this->getIndexSchemas($indexes);
        $having = $this->buildCondition($indexSchemas, $condition, $params);
        return $having === '' ? '' : 'HAVING ' . $having;
    }