mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Added suggestions for answers
This commit is contained in:
@@ -74,6 +74,11 @@ public interface DaoAnswer {
|
||||
" AND (:favorite OR NOT favorite)")
|
||||
Integer getAnswerCount(boolean favorite);
|
||||
|
||||
@Query("SELECT DISTINCT `group` FROM answer" +
|
||||
" WHERE NOT `group` IS NULL" +
|
||||
" ORDER by `group` COLLATE NOCASE")
|
||||
List<String> getGroups();
|
||||
|
||||
@Insert
|
||||
long insertAnswer(EntityAnswer answer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user