Created
May 23, 2020 07:07
-
-
Save deepanshu42/706900220e4a67a4dbed7f02924f9003 to your computer and use it in GitHub Desktop.
Direct Cursor Access Example
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 UserDao { | |
@Query("SELECT * FROM users") | |
fun loadAllUsers(): Cursor | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment