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

        $condition = [];
        array_unshift($condition, static::LOGIC_OR);
        array_unshift($condition, 'having');
        $condition[] = [':stringSimple' => '{'.$raw.'}'];

        return $this->aliatypeAndLogic(...$condition);
    }
public function orHavingRaw(string $raw): self
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        $condition = [];
        array_unshift($condition, static::LOGIC_OR);
        array_unshift($condition, 'having');
        $condition[] = [':stringSimple' => '{'.$raw.'}'];

        return $this->aliatypeAndLogic(...$condition);
    }
Having 原生 OR 查询.

@param string $raw

@return $this