Skip to content

Instantly share code, notes, and snippets.

@egealpay
Last active July 26, 2018 17:03
Show Gist options
  • Save egealpay/64235718f76793f277e3da7ea5bdb4fe to your computer and use it in GitHub Desktop.
Save egealpay/64235718f76793f277e3da7ea5bdb4fe to your computer and use it in GitHub Desktop.
@Dao
interface FilmDao {
@Query("SELECT * FROM film")
fun butunFilmler(): List<Film>
@Insert(onConflict = OnConflictStrategy.IGNORE)
fun filmEkle(film: Film)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment