Skip to content

Instantly share code, notes, and snippets.

@deepanshu42
Created May 23, 2020 07:03
Show Gist options
  • Select an option

  • Save deepanshu42/0dadd97bbf00751e91fa4820d5d3db33 to your computer and use it in GitHub Desktop.

Select an option

Save deepanshu42/0dadd97bbf00751e91fa4820d5d3db33 to your computer and use it in GitHub Desktop.
Updation in Room Dao Example
@Dao
interface UserDao {
@Update(onConflict = OnConflictStrategy.REPLACE)
fun updateUsers(vararg users: User)
@Update
fun update(user: User)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment