protected function runSelect() { return $this->connection->select($this->toSql(), $this->getBindings(), !$this->useWritePdo); }
/** * Add scope constraints before running select * * @return array */ protected function runSelect() { event(new QuerySelect($this)); return parent::runSelect(); }