Created
July 11, 2017 08:23
-
-
Save iammert/7620bb61c37bc491a06de3b2356f5ecd to your computer and use it in GitHub Desktop.
GenresDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Dao | |
public abstract class GenresDao { | |
@Insert(onConflict = OnConflictStrategy.REPLACE) | |
public abstract void insert(List<GenreEntity> genreEntities); | |
@Query("SELECT * FROM genreentity") | |
public abstract Flowable<List<GenreEntity>> getAll(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment