runSelect() protected method

Run the query as a "select" statement against the connection.
protected runSelect ( ) : array
return array
Exemplo n.º 1
0
 /**
  * Add scope constraints before running select
  *
  * @return array
  */
 protected function runSelect()
 {
     event(new QuerySelect($this));
     return parent::runSelect();
 }
Exemplo n.º 2
0
 /**
  * Run the query as a "select" statement against the connection.
  *
  * @return array
  */
 protected function runSelect()
 {
     return $this->handler->setBuilder($this)->cacheQuery(function () {
         return parent::runSelect();
     });
 }