mirror of
https://github.com/M66B/FairEmail.git
synced 2026-05-18 13:08:16 +02:00
@@ -54,6 +54,11 @@ public interface DaoAttachment {
|
||||
" AND sequence = :sequence")
|
||||
EntityAttachment getAttachment(long message, int sequence);
|
||||
|
||||
@Query("SELECT * FROM attachment" +
|
||||
" WHERE message = :message" +
|
||||
" AND cid = :cid")
|
||||
EntityAttachment getAttachment(long message, String cid);
|
||||
|
||||
@Query("SELECT * FROM attachment" +
|
||||
" WHERE id = :id")
|
||||
EntityAttachment getAttachment(long id);
|
||||
|
||||
Reference in New Issue
Block a user