mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Added statistics to debug info
This commit is contained in:
@@ -464,6 +464,9 @@ public interface DaoMessage {
|
||||
" AND sender = :sender")
|
||||
int countSender(long folder, String sender);
|
||||
|
||||
@Query("SELECT COUNT(*) FROM message")
|
||||
int countTotal();
|
||||
|
||||
@Query("SELECT message.*" +
|
||||
", account.pop AS accountProtocol, account.name AS accountName, account.category AS accountCategory, identity.color AS accountColor" +
|
||||
", account.notify AS accountNotify, account.leave_deleted AS accountLeaveDeleted, account.auto_seen AS accountAutoSeen" +
|
||||
|
||||
Reference in New Issue
Block a user