https://kotlinlang.org logo
#android
Title
# android
n

nekoinemo

05/29/2017, 1:36 PM
Hello. Can you recommend a good ORM with Kotlin support/extensions? I tried DBFlow (which has Kotlin extensions) but its latest 4.0.2 was way too rough to be usable.
d

David W

05/29/2017, 1:37 PM
nekoinemo: I'm pretty happy with Requery
1
Although I have one eye on Realm and another on Room, also
n

nekoinemo

05/29/2017, 1:38 PM
Does it work well with Kotlin?
The "Room"? I haven't even heard of this one
d

David W

05/29/2017, 1:38 PM
Room's from Google but it's still in canary/alpha, not ready for production use
I'm pretty bad at working with databases, so don't take that as 'best practices' or anything...but it does work fine with Kotlin.
n

nekoinemo

05/29/2017, 1:42 PM
Thank you
m

mister11

05/29/2017, 1:44 PM
You can overcome all the troubles that some ORM carries (bugs, update issues etc.) using something simpler like sqldelight…it will wrap some boilerplate stuff for you but you’ll have full control with sql you want to execute https://github.com/square/sqldelight/
👍🏻 1
n

nekoinemo

05/29/2017, 1:48 PM
Thank you
13 Views