public function toString() { return $this->select->toString() . ($this->from->isEmpty() ? '' : "FROM " . $this->from->toString()) . $this->where->toString() . $this->groupBy->toString() . $this->having->toString() . $this->orderBy->toString() . $this->limit->toString(); }
public function set($limit) { parent::set('', $limit); }
public function toString() { return "DELETE " . $this->delete->toString() . "FROM " . $this->from->toString() . $this->where->toString() . $this->limit->toString(); }