mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 15:03:37 +00:00
Changed the order of deletion and saving of items at the time of synchronization
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user