예제 #1
0
 protected function runSelect()
 {
     $url = $this->compileUrl($this->from[0], @$this->from[1]);
     $options = ['query' => []];
     foreach (['wheres', 'orders', 'limit', 'offset'] as $component) {
         $method = 'compile' . ucfirst($component);
         $this->{$method}($options['query']);
     }
     return $this->client->select($url, $options);
 }