Add more api for snapshot

This commit is contained in:
WQY\qiong
2023-02-17 19:51:44 +08:00
parent 78f56ac025
commit 28480500d7
3 changed files with 83 additions and 5 deletions

View File

@@ -8,7 +8,12 @@ from .database import API_ADD, API_UPDATE, API_DELETE
from .database import ChangeSet
from .database import get_current_operation
from .database import execute_undo, execute_redo
from .database import have_snapshot, take_snapshot, pick_snapshot
from .database import have_snapshot, have_snapshot_for_operation, have_snapshot_for_current_operation
from .database import take_snapshot_for_operation, take_snapshot_for_current_operation, take_snapshot
from .database import update_snapshot, update_snapshot_for_current_operation
from .database import delete_snapshot, delete_snapshot_by_operation
from .database import get_operation_by_snapshot, get_snapshot_by_operation
from .database import pick_snapshot
from .database import pick_operation, sync_with_server, get_restore_operation, set_restore_operation
from .batch_cmd import execute_batch_command