Hi, is there any ORM at all that supports kotlin m...
# multiplatform
t
Hi, is there any ORM at all that supports kotlin multiplatform? I've looked around and all the ones I found are either years out of date, JVM-only, or both.
j
If you're not married to the R in ORM then SQLDelight is pretty great
5
t
at this point, my only requirement is that it supports postgres, and sqldelight falls there
j
What is missing for you? Native for windows? Some other platform?
t
I'm building a web server in Ktor that's meant to be run locally on each users computer (this is gonna be used often in places with no internet access), and I wanted to see if I could use Kotlin MMP for it
I know i could use Kotlin/JVM, but shipping native versions of executables seemed better
j
So that's a yes? Windows support on the native driver is tracked here: https://github.com/hfhbd/postgres-native-sqldelight/issues/2
m
I have the same issue - wish to assemble project into single executable. But I suppose using JVM and GraalVM may be better than fully native solution
k
Check this out for a k/n pgsql driver https://github.com/hfhbd/postgres-native-sqldelight
Also, spicy take, but if something is running locally on an end users device, consider SQLite
192 Views