mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Cleanup
This commit is contained in:
parent
195acc4bf2
commit
cbc4bfc22e
1 changed files with 0 additions and 13 deletions
|
@ -139,24 +139,11 @@ public interface DaoMessage {
|
|||
" OR message.msgid = :reference)")
|
||||
List<EntityMessage> getMessageByMsgId(long account, String msgid, String reference);
|
||||
|
||||
@Query("SELECT message.* FROM message" +
|
||||
" JOIN folder ON folder.id = message.folder" +
|
||||
" WHERE message.account = :account" +
|
||||
" AND message.thread = :thread" +
|
||||
" AND folder.type <> '" + EntityFolder.OUTBOX + "'" +
|
||||
" AND folder.type <> '" + EntityFolder.DRAFTS + "'")
|
||||
List<EntityMessage> getMessageByThread(long account, String thread);
|
||||
|
||||
@Query("SELECT *" +
|
||||
" FROM message" +
|
||||
" WHERE folder = :folder")
|
||||
List<EntityMessage> getMessageByFolder(long folder);
|
||||
|
||||
@Query("SELECT id FROM message" +
|
||||
" WHERE folder = :folder" +
|
||||
" ORDER BY message.received DESC, message.sent DESC")
|
||||
List<Long> getMessageIDs(long folder);
|
||||
|
||||
@Query("SELECT message.*" +
|
||||
", account.name AS accountName, account.color AS accountColor" +
|
||||
", folder.name AS folderName, folder.display AS folderDisplay, folder.type AS folderType" +
|
||||
|
|
Loading…
Reference in a new issue