Last active
January 15, 2023 12:18
-
-
Save krzdabrowski/8f1a63ae1fef807b7afd8db2d3ef3c26 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 | |
interface RocketDao { | |
@Query("SELECT * FROM RocketCached") | |
fun getRockets(): Flow<List<RocketCached>> | |
@Upsert | |
suspend fun saveRockets(rockets: List<RocketCached>) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment