Concept forward multiple

This commit is contained in:
M66B
2021-03-20 17:10:15 +01:00
parent 8f75ed1020
commit f37fe854c4
4 changed files with 149 additions and 0 deletions

View File

@@ -274,6 +274,11 @@ public interface DaoMessage {
" AND folder.type <> '" + EntityFolder.OUTBOX + "'")
LiveData<TupleFtsStats> liveFts();
@Query("SELECT COUNT(*) FROM message" +
" WHERE id IN (:ids)" +
" AND raw IS NULL or NOT raw")
LiveData<Integer> liveRaw(long[] ids);
@Query("SELECT *" +
" FROM message" +
" WHERE id = :id")