mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Prevent reread
This commit is contained in:
parent
e7c5029d47
commit
586033fa7f
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ import androidx.lifecycle.LiveData;
|
|||
import androidx.room.Dao;
|
||||
import androidx.room.Insert;
|
||||
import androidx.room.Query;
|
||||
import androidx.room.Transaction;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -39,6 +40,7 @@ public interface DaoOperation {
|
|||
" ELSE 0" +
|
||||
" END";
|
||||
|
||||
@Transaction
|
||||
@Query("SELECT operation.*" +
|
||||
", " + priority + " AS priority" +
|
||||
", account.name AS accountName, folder.name AS folderName" +
|
||||
|
|
Loading…
Reference in a new issue