protected function buildHaving()
    {
        if (count($this->having) === 0) {
            return '';
        }

        // Use a ConditionSet to build the having clause
        $conditionSet = new Query\Condition\AndSet($this, $this->having);
        return "HAVING {$conditionSet->buildWithoutParentheses()}";
    }
protected function buildHaving()
    {
        if (count($this->having) === 0) {
            return '';
        }

        // Use a ConditionSet to build the having clause
        $conditionSet = new Query\Condition\AndSet($this, $this->having);
        return "HAVING {$conditionSet->buildWithoutParentheses()}";
    }
protected function buildHaving ( ) { if ( count ( $ this -> having ) === 0 ) { return '' ; } // Use a ConditionSet to build the having clause $ conditionSet = new Query \ Condition \ AndSet ( $ this , $ this -> having ) ; return "HAVING {$conditionSet->buildWithoutParentheses()}" ; }
Build and return the having string.

@return string
Build and return the having string .