Illuminate\Database\Query\Builder::runSelect PHP 메소드

runSelect() 보호된 메소드

Run the query as a "select" statement against the connection.
protected runSelect ( ) : array
리턴 array
    protected function runSelect()
    {
        return $this->connection->select($this->toSql(), $this->getBindings(), !$this->useWritePdo);
    }

Usage Example

예제 #1
0
 /**
  * Add scope constraints before running select
  *
  * @return array
  */
 protected function runSelect()
 {
     event(new QuerySelect($this));
     return parent::runSelect();
 }
All Usage Examples Of Illuminate\Database\Query\Builder::runSelect