mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 11:25:13 +01:00
Added operations to debug info
This commit is contained in:
@@ -118,6 +118,13 @@ public interface DaoOperation {
|
||||
@Query("SELECT * FROM operation WHERE error IS NOT NULL")
|
||||
List<EntityOperation> getOperationsError();
|
||||
|
||||
@Query("SELECT COUNT(id) FROM operation")
|
||||
int getOperationCount();
|
||||
|
||||
@Query("SELECT COUNT(id) FROM operation" +
|
||||
" WHERE account = :account")
|
||||
int getOperationCount(long account);
|
||||
|
||||
@Query("SELECT COUNT(id) FROM operation" +
|
||||
" WHERE folder = :folder" +
|
||||
" AND (:name IS NULL OR name = :name)")
|
||||
|
||||
Reference in New Issue
Block a user