public function format(IFormatterProvider $formatterProvider) { $whereFormat = $this->where->format($formatterProvider); $where2Format = $this->where2->format($formatterProvider); return $this->sql('(' . $whereFormat . ') ' . $this->relation . ' (' . $where2Format . ')', array_merge($whereFormat->getParameterList(), $where2Format->getParameterList())); }
public function format(IFormatterProvider $formatterProvider) { return $this->sql($this->join . ' JOIN ' . $this->table->format($formatterProvider) . ' ON ' . $this->on->format($formatterProvider)); }