Refine change set

This commit is contained in:
wqy
2022-09-17 23:43:03 +08:00
parent 36a8fa2f79
commit fc0283b417
5 changed files with 246 additions and 209 deletions

View File

@@ -30,5 +30,5 @@ def update(name: str, type: str, table: str, id_key: str, id_value: str, key: st
add_operation(name, redo, undo)
change = ChangeSet()
change.update(type, id_value, key, key_type, value)
change.update(type, id_value, key)
return change