Delete background SYNC ops on stopping sync service

This commit is contained in:
M66B
2019-03-03 12:43:09 +00:00
parent ad5812f4f8
commit bc2d3a3d15
2 changed files with 20 additions and 3 deletions

View File

@@ -72,6 +72,9 @@ public interface DaoOperation {
@Query("SELECT * FROM operation ORDER BY id")
List<EntityOperation> getOperations();
@Query("SELECT * FROM operation WHERE name = :name")
List<EntityOperation> getOperations(String name);
@Query("SELECT * FROM operation WHERE error IS NOT NULL")
List<EntityOperation> getOperationsError();