Update comment

This commit is contained in:
wqy
2022-09-03 10:27:51 +08:00
parent a44977974d
commit 0832e557fe

View File

@@ -16,7 +16,7 @@ def _remove_transaction(name: str) -> None:
def _remove_operation(name: str, id: int) -> None:
with conn[name].cursor(row_factory=dict_row) as cur:
# can not be >= since there is a tree !
# can not be >= to cascade delete since there is a tree !
cur.execute(f"delete from transaction_operation where id = {id}") # this should not happen
cur.execute(f"delete from snapshot_operation where id = {id}") # this may happen
cur.execute(f"delete from operation where id = {id}")