/** * @return string * @throws Exception */ public function build() { return $this->expression->build($this->driver); }
protected function buildOrder(Quoter $quoter) { $order = ''; if ($this->order && !$this->order->isEmpty()) { $order = ' ORDER BY ' . $this->order->build($quoter); } return $order; }