Last active
November 24, 2019 22:46
-
-
Save mantisbayne/db9ea70be47ce764e64937d28ed3cb08 to your computer and use it in GitHub Desktop.
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 ExampleDao { | |
@Query("SELECT * FROM examples") | |
fun getExamples(): LiveData<List<Example>> | |
@Query("SELECT * FROM examples WHERE id = :id)") | |
fun getExampleById(id: String): LiveData<Example> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment