Esempio n. 1
0
 /**
  * Execute the query as a "select" statement.
  *
  * @param  array $columns
  * @return array|static[]
  */
 public function get($columns = array('*'))
 {
     if (is_null($this->columns)) {
         $this->columns = $columns;
     }
     return $this->connection->fetchAll($this->toSql(), $this->getBindings());
 }