mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 02:13:33 +00:00
Added media type to class and replaced "song" with a generic "media"
This commit is contained in:
parent
eecbed2f61
commit
51cd88dd3f
9 changed files with 52 additions and 38 deletions
|
|
@ -45,8 +45,8 @@ public interface DownloadDao {
|
|||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
void insertAll(List<Download> downloads);
|
||||
|
||||
@Query("DELETE FROM download WHERE songId = :songId")
|
||||
void delete(String songId);
|
||||
@Query("DELETE FROM download WHERE mediaId = :mediaId")
|
||||
void delete(String mediaId);
|
||||
|
||||
@Query("DELETE FROM download WHERE server=:server")
|
||||
void deleteAll(String server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue