Dao追加

This commit is contained in:
r-ca committed 2024-01-17 10:40:01 +09:00
1 parent 678c9730ef
commit 0487553f3b
1 file changed
+9 -1
@@ -3,6 +3,7 @@ package one.nem.lacerta.source.database.dao;
import androidx.room.Dao; import androidx.room.Dao;
import androidx.room.Insert; import androidx.room.Insert;
import androidx.room.Query; import androidx.room.Query;
import androidx.room.Update;
import java.util.List; import java.util.List;
@@ -43,5 +44,12 @@ public interface VcsLogDao {
@Insert @Insert
void insert(VcsLogEntity vcsLog); void insert(VcsLogEntity vcsLog);
// TODO-rca: Update, Deleteが必要か検討 @Update
void update(VcsLogEntity vcsLog);
@Update
void updateAll(VcsLogEntity... vcsLogs);
@Update
void updateAll(List<VcsLogEntity> vcsLogs);
} }