Added statistics to debug info

This commit is contained in:
M66B
2022-01-12 17:13:25 +01:00
parent 9564ed0e9b
commit fa8e8ee011
4 changed files with 17 additions and 5 deletions

View File

@@ -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" +