Angejia\Pea\QueryBuilder::isAwful PHP Метод

isAwful() приватный метод

复杂查询使用表级缓存,命中率较低
private isAwful ( )
    private function isAwful()
    {
        if (self::hasRawColumn($this->columns)) {
            return true;
        }
        return $this->aggregate or $this->distinct or $this->groups or $this->joins or $this->orders or $this->unions or !$this->wheres or array_key_exists('Exists', $this->wheres) or array_key_exists('InSub', $this->wheres) or array_key_exists('NotExists', $this->wheres) or array_key_exists('NotInSub', $this->wheres) or array_key_exists('Sub', $this->wheres) or array_key_exists('raw', $this->wheres);
    }