|
|
|
@ -102,8 +102,8 @@ public interface DaoAccount {
|
|
|
|
|
LiveData<List<TupleAccountView>> liveAccountView();
|
|
|
|
|
|
|
|
|
|
@Query("SELECT account.id" +
|
|
|
|
|
", account.swipe_left, l.type AS left_type, l.name AS left_name" +
|
|
|
|
|
", account.swipe_right, r.type AS right_type, r.name AS right_name" +
|
|
|
|
|
", account.swipe_left, l.type AS left_type, l.name AS left_name, l.color AS left_color" +
|
|
|
|
|
", account.swipe_right, r.type AS right_type, r.name AS right_name, r.color AS right_color" +
|
|
|
|
|
" FROM account" +
|
|
|
|
|
" LEFT JOIN folder l ON l.id = account.swipe_left" +
|
|
|
|
|
" LEFT JOIN folder r ON r.id = account.swipe_right" +
|
|
|
|
|