Added operations to debug info

This commit is contained in:
M66B
2018-12-01 15:38:02 +01:00
parent 3505ea6b8f
commit abd7fecb70
2 changed files with 44 additions and 1 deletions

View File

@@ -37,6 +37,9 @@ public interface DaoOperation {
@Query("SELECT * FROM operation ORDER BY id")
LiveData<List<EntityOperation>> liveOperations();
@Query("SELECT * FROM operation ORDER BY id")
List<EntityOperation> getOperations();
@Query("SELECT COUNT(id) FROM operation WHERE folder = :folder")
int getOperationCount(long folder);