From e4fb793769cc57c9e964302eff0a454777aca319 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 5 Mar 2023 15:15:57 +0100 Subject: [PATCH] use transaction for complex model --- .../java/im/conversations/android/database/dao/DiscoDao.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/im/conversations/android/database/dao/DiscoDao.java b/app/src/main/java/im/conversations/android/database/dao/DiscoDao.java index 92599165f..8b1260a30 100644 --- a/app/src/main/java/im/conversations/android/database/dao/DiscoDao.java +++ b/app/src/main/java/im/conversations/android/database/dao/DiscoDao.java @@ -228,6 +228,7 @@ public abstract class DiscoDao { entity.getClass().getName())); } + @Transaction @Query( "SELECT disco_item.discoId,address FROM disco_item JOIN disco_feature ON" + " disco_item.discoId=disco_feature.discoId WHERE feature=:feature AND"