mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Removed unused methods from queue repository
This commit is contained in:
parent
ed5661c667
commit
c1496d01a2
2 changed files with 4 additions and 93 deletions
|
|
@ -16,18 +16,9 @@ public interface PlaylistDao {
|
|||
@Query("SELECT * FROM playlist")
|
||||
LiveData<List<Playlist>> getAll();
|
||||
|
||||
@Query("SELECT EXISTS(SELECT * FROM playlist WHERE id = :id)")
|
||||
boolean exist(String id);
|
||||
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
void insert(Playlist playlist);
|
||||
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
void insertAll(List<Playlist> playlists);
|
||||
|
||||
@Delete
|
||||
void delete(Playlist playlist);
|
||||
|
||||
@Query("DELETE FROM playlist")
|
||||
void deleteAll();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue