Improved review account

This commit is contained in:
M66B
2021-02-15 20:16:32 +01:00
parent fe559f7c84
commit 1400afb7ca
3 changed files with 151 additions and 8 deletions

View File

@@ -164,6 +164,11 @@ public interface DaoFolder {
" AND type <> '" + EntityFolder.USER + "'")
List<EntityFolder> getSystemFolders(long account);
@Query("SELECT * FROM folder" +
" WHERE folder.account = :account" +
" AND type <> '" + EntityFolder.USER + "'")
LiveData<List<EntityFolder>> liveSystemFolders(long account);
@Query("SELECT * FROM folder" +
" WHERE folder.account = :account" +
" AND folder.selectable" +