src/Leevel/Database/Condition.php
public function having(...$arr): self
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        array_unshift($arr, static::LOGIC_AND);
        array_unshift($arr, 'having');

        return $this->aliatypeAndLogic(...$arr);
    }
public function having(...$arr): self
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        array_unshift($arr, static::LOGIC_AND);
        array_unshift($arr, 'having');

        return $this->aliatypeAndLogic(...$arr);
    }
添加一个 HAVING 条件
< 参数规范参考 where()方法 >.

@param array $arr

@return $this