Refactoring

This commit is contained in:
M66B
2018-11-14 17:21:53 +01:00
parent b9fef727af
commit 884615a269
7 changed files with 67 additions and 69 deletions

View File

@@ -72,9 +72,6 @@ public interface DaoFolder {
" GROUP BY folder.id")
LiveData<List<TupleFolderEx>> liveUnified();
@Query("SELECT folder.* FROM folder WHERE folder.id = :id")
LiveData<EntityFolder> liveFolder(long id);
@Query("SELECT folder.*, account.name AS accountName" +
", COUNT(message.id) AS messages" +
", SUM(CASE WHEN message.content = 1 THEN 1 ELSE 0 END) AS content" +