Angejia\Pea\QueryBuilder::get PHP 메소드

get() 공개 메소드

public get ( $columns = ['*'] )
    public function get($columns = ['*'])
    {
        if ($this->model) {
            $this->fireEvent('get');
        }
        if (!$this->needCache()) {
            return parent::get($columns);
        }
        if (!$this->columns && self::hasRawColumn($columns)) {
            $this->columns = $columns;
        }
        if ($this->isAwful()) {
            return $this->getAwful();
        } elseif ($this->isNormal()) {
            return $this->getAwful();
        } else {
            return $this->getSimple();
        }
    }