FTS index without content

This commit is contained in:
M66B
2022-11-04 08:15:03 +01:00
parent 99108b951c
commit 7ee1c00cb8
2 changed files with 6 additions and 6 deletions

View File

@@ -334,8 +334,7 @@ public interface DaoMessage {
@Transaction
@Query("SELECT message.id FROM message" +
" JOIN folder_view AS folder ON folder.id = message.folder" +
" WHERE content" +
" AND NOT fts" +
" WHERE NOT fts" +
" AND folder.type <> '" + EntityFolder.OUTBOX + "'" +
" ORDER BY message.received")
Cursor getMessageFts();