Room - Added schema export directory

This commit is contained in:
CappielloAntonio 2021-09-04 15:21:36 +02:00
parent 11c7d3fa73
commit fc5876829c
3 changed files with 17 additions and 4 deletions

View file

@ -30,7 +30,7 @@ public interface DownloadDao {
@Query("SELECT * FROM download WHERE server=:server AND artistId=:artistId")
LiveData<List<Download>> getAllFromArtist(String server, String artistId);
@Query("SELECT * FROM download WHERE server=:server AND albumId=:albumId")
@Query("SELECT * FROM download WHERE server=:server AND albumId=:albumId ORDER BY trackNumber ASC")
LiveData<List<Download>> getAllFromAlbum(String server, String albumId);
@Query("SELECT * FROM download WHERE server=:server AND playlistId=:playlistId")