Skip to content

Instantly share code, notes, and snippets.

@ubuntudroid
Created August 10, 2019 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ubuntudroid/debd897b8c2da7b795649c6e77181ec5 to your computer and use it in GitHub Desktop.
Save ubuntudroid/debd897b8c2da7b795649c6e77181ec5 to your computer and use it in GitHub Desktop.
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun upsert(color: Color): Completable // or whatever return type you need
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment