📅  最后修改于: 2022-03-11 15:05:12.694000             🧑  作者: Mango
fields = self.dictionary.keys()
vals = self.dictionary.values()
stmt = "UPDATE TABLE table_name SET %s = '%s'" %(.join(fields), .join(vals))"