Support restore operation
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user