Support restore operation

This commit is contained in:
WQY\qiong
2022-11-25 23:52:18 +08:00
parent e13bb53b98
commit 008cd2b3a2
7 changed files with 25 additions and 11 deletions

View File

@@ -307,3 +307,7 @@ def sync_with_server(name: str, operation: int) -> ChangeSet:
index -= 1
return change.compress()
def get_restore_operation(name: str) -> int:
return read(name, f'select * from restore_operation')['id']