mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
Dao追加
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user