mirror of https://github.com/M66B/FairEmail.git
Prevent reread
This commit is contained in:
parent
e7c5029d47
commit
586033fa7f
|
@ -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 New Issue