mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 18:31:40 +00:00
Changed the order of deletion and saving of items at the time of synchronization
This commit is contained in:
parent
01785b7bed
commit
86fcc8b479
13 changed files with 138 additions and 51 deletions
|
|
@ -17,9 +17,6 @@ public interface PlaylistSongCrossDao {
|
|||
@Query("SELECT * FROM playlist_song_cross")
|
||||
LiveData<List<PlaylistSongCross>> getAll();
|
||||
|
||||
@Query("SELECT EXISTS(SELECT * FROM playlist_song_cross WHERE id = :id)")
|
||||
boolean exist(String id);
|
||||
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
void insert(PlaylistSongCross playlistSongCross);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue