Dao追加

This commit is contained in:
ろむねこ 2024-01-17 10:40:01 +09:00
parent 678c9730ef
commit 0487553f3b
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -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);
} }