Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/CachedBufferooDao.kt Secret
Created Oct 18, 2017

Embed
What would you like to do?
@Dao
abstract class CachedBufferooDao {
@Query(BufferooConstants.QUERY_BUFFEROOS)
abstract fun getBufferoos(): List<CachedBufferoo>
@Query(BufferooConstants.DELETE_ALL_BUFFEROOS)
abstract fun clearBufferoos()
@Insert(onConflict = OnConflictStrategy.REPLACE)
abstract fun insertBufferoo(cachedBufferoo: CachedBufferoo)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.