-
-
Save hitherejoe/55581826e7aed71cff7b4ca55585d1f7 to your computer and use it in GitHub Desktop.
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 | |
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