mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Use cursor for FTS
This commit is contained in:
@@ -330,7 +330,7 @@ public interface DaoMessage {
|
||||
" AND NOT fts" +
|
||||
" AND folder.type <> '" + EntityFolder.OUTBOX + "'" +
|
||||
" ORDER BY message.received")
|
||||
List<Long> getMessageFts();
|
||||
Cursor getMessageFts();
|
||||
|
||||
@Query("SELECT message.id, account, thread, (:find IS NULL" +
|
||||
" OR (:senders AND `from` LIKE :find COLLATE NOCASE)" + // no index
|
||||
|
||||
Reference in New Issue
Block a user