Last active
September 30, 2022 07:32
-
-
Save anangkur/176549e78e65133b663954372fe02ddc 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 RoomDao { | |
@Insert | |
suspend fun insertData(entity: Entity) | |
@Query("select * from table") | |
suspend fun getAllData(): List<Entity> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment