mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Small optimization
This commit is contained in:
@@ -103,4 +103,8 @@ public interface DaoAttachment {
|
||||
@Query("DELETE FROM attachment" +
|
||||
" WHERE id = :id")
|
||||
int deleteAttachment(long id);
|
||||
|
||||
@Query("DELETE FROM attachment" +
|
||||
" WHERE message = :message")
|
||||
int deleteAttachments(long message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user