Created
September 14, 2018 15:29
-
-
Save CoderJava/cb65ff61a1fb111f8278e0f897913da0 to your computer and use it in GitHub Desktop.
Waktu DAO
This file contains hidden or 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 WaktuDao { | |
| @Query("SELECT * FROM waktudata") | |
| fun getAll(): List<WaktuData> | |
| @Insert(onConflict = OnConflictStrategy.REPLACE) | |
| fun insert(waktuData: WaktuData) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment