public function format(IFormatterProvider $formatterProvider) { $table = $formatterProvider->delimite($this->table); if ($this->alias) { $table .= ' ' . $formatterProvider->delimite($this->alias); } if ($this->joinList) { $joinList = []; foreach ($this->joinList as $join) { $joinList[] = $join->format($formatterProvider); } $table .= ' ' . implode(', ', $joinList); } return $this->sql($table); }
public function format(IFormatterProvider $formatterProvider) { return $formatterProvider->createFormatter($this)->format(); }
public function format(IFormatterProvider $formatterProvider) { return $this->sql($formatterProvider->quote($this->string)); }