Last active
August 24, 2017 04:07
-
-
Save adam-hurwitz/0f5f8578400f45499e893df80b8b218f to your computer and use it in GitHub Desktop.
Kotlin DBflow query one attribute
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
fun queryMemberStatus(id: String): Observable<List<Group>> { | |
return Observable.just( | |
SQLite.select(Group_Table.memberStatus) | |
.from(Group::class.java) | |
.where(Group_Table.id.`is`(id)).queryList()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment