mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Clear contacts by type
This commit is contained in:
@@ -103,7 +103,6 @@ public interface DaoContact {
|
||||
int deleteContacts(long before);
|
||||
|
||||
@Query("DELETE FROM contact" +
|
||||
" WHERE (type = " + EntityContact.TYPE_TO +
|
||||
" OR type = " + EntityContact.TYPE_FROM + ")")
|
||||
int clearContacts();
|
||||
" WHERE type IN (:types)")
|
||||
int clearContacts(int[] types);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user