Created
June 30, 2020 16:02
-
-
Save julioz/b4fd2d9b906d8210270d0441e5b9a449 to your computer and use it in GitHub Desktop.
OnConflictStrategy replace for SQLite resolution
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 | |
interface TrackDao { | |
@Insert(onConflict = OnConflictStrategy.REPLACE) | |
fun insert(tracks: List<TrackEntity>) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment