Small fix

This commit is contained in:
M66B 2019-04-19 10:33:41 +02:00
parent ffe0b505ef
commit 8ef596b3a8
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public interface DaoAccount {
" WHERE account.synchronize) AS operations")
LiveData<TupleAccountStats> liveStats();
@Query("SELECT account.id, swipe_left, l.type AS left_type, swipe_right, r.type AS right_type" +
@Query("SELECT account.id, l.id, l.type AS left_type, r.id, r.type AS right_type" +
" FROM account" +
" LEFT JOIN folder l ON l.id = account.swipe_left" +
" LEFT JOIN folder r ON r.id = account.swipe_right")