|
|
@ -58,6 +58,7 @@ public interface DaoAccount {
|
|
|
|
" AND folder.type = '" + EntityFolder.INBOX + "') AS unseen" +
|
|
|
|
" AND folder.type = '" + EntityFolder.INBOX + "') AS unseen" +
|
|
|
|
", (SELECT COUNT(message.id) FROM message" +
|
|
|
|
", (SELECT COUNT(message.id) FROM message" +
|
|
|
|
" JOIN folder ON folder.id = message.folder" +
|
|
|
|
" JOIN folder ON folder.id = message.folder" +
|
|
|
|
|
|
|
|
" JOIN operation ON operation.message = message.id AND operation.name = '" + EntityOperation.SEND + "'" +
|
|
|
|
" WHERE NOT message.ui_seen" +
|
|
|
|
" WHERE NOT message.ui_seen" +
|
|
|
|
" AND folder.type = '" + EntityFolder.OUTBOX + "') AS unsent")
|
|
|
|
" AND folder.type = '" + EntityFolder.OUTBOX + "') AS unsent")
|
|
|
|
LiveData<TupleAccountStats> liveStats();
|
|
|
|
LiveData<TupleAccountStats> liveStats();
|
|
|
|