Cancel transient sync operations

This commit is contained in:
M66B
2020-03-03 19:25:42 +01:00
parent 9731e17af8
commit 9088dc1f5b
2 changed files with 8 additions and 11 deletions

View File

@@ -139,4 +139,7 @@ public interface DaoOperation {
@Query("DELETE FROM operation WHERE id = :id")
int deleteOperation(long id);
@Query("DELETE FROM operation WHERE account = :account AND name = :name")
int deleteOperations(long account, String name);
}