https://kotlinlang.org logo
#getting-started
Title
# getting-started
n

Nat Elkins

01/21/2021, 3:32 PM
What SQL clients are people using? I see https://github.com/JetBrains/Exposed is pretty popular (by GitHub stars), but it looks like you can't drop down to SQL without writing your own extension (albeit a simple one). Also, it isn't async. Is Exposed the preferred Kotlin SQL library?
a

Alex Nordlund

01/21/2021, 3:36 PM
jOOQ is pretty popular where I come from
🙏 1
1
c

Casey Brooks

01/21/2021, 3:54 PM
SQLDelight is nice for using local DBs in end-user applications (mobile, desktop). Rather than being an ORM, it generates Kotlin code from normal SQL queries, so is a bit easier to use if you’re more comfortable with SQL. It also looks like it has support for MySql and Posgres now, making it a viable option on servers as well. https://github.com/cashapp/sqldelight
🙏 1
r

Robert Jaros

01/21/2021, 4:23 PM
spring-data-r2dbc
is non-blocking and has good Kotlin support
2 Views