mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 20:34:49 +01:00
Refactoring
This commit is contained in:
@@ -65,6 +65,10 @@ public interface DaoOperation {
|
||||
@Query(GET_OPS_FOLDER)
|
||||
LiveData<List<EntityOperation>> liveOperations(long folder);
|
||||
|
||||
@Query("SELECT COUNT(operation.id) FROM operation" +
|
||||
" WHERE operation.name = '" + EntityOperation.SEND + "'")
|
||||
LiveData<Integer> liveUnsent();
|
||||
|
||||
@Query("SELECT * FROM operation ORDER BY id")
|
||||
List<EntityOperation> getOperations();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user