mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Standard answers, refactoring, cleanup
This commit is contained in:
@@ -29,6 +29,9 @@ import androidx.room.Update;
|
||||
|
||||
@Dao
|
||||
public interface DaoAnswer {
|
||||
@Query("SELECT * FROM answer WHERE id = :id")
|
||||
EntityAnswer getAnswer(long id);
|
||||
|
||||
@Query("SELECT * FROM answer")
|
||||
LiveData<List<EntityAnswer>> liveAnswers();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user