runSelect() protected method

Run the query as a "select" statement against the connection.
protected runSelect ( ) : array
return array
コード例 #1
0
ファイル: QueryBuilder.php プロジェクト: master0mind/Lavender
 /**
  * Add scope constraints before running select
  *
  * @return array
  */
 protected function runSelect()
 {
     event(new QuerySelect($this));
     return parent::runSelect();
 }
コード例 #2
0
ファイル: QueryBuilder.php プロジェクト: spiritix/lada-cache
 /**
  * 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();
     });
 }