public function toString() { if ($this->from->isEmpty()) { return ''; } return "UPDATE " . $this->from->toString() . $this->set->toString() . $this->where->toString() . $this->limit->toString(); }
public function equals(Gpf_SqlBuilder_FromClause $from) { return $from->toString() == $this->toString(); }
public function toString() { return "DELETE " . $this->delete->toString() . "FROM " . $this->from->toString() . $this->where->toString() . $this->limit->toString(); }
private function initSelect() { if (!empty($this->tableName)) { $this->from->add($this->tableName); } }