Hello, Excuse me, i have a problem. Since 2 days, ...
# compose-desktop
j
Hello, Excuse me, i have a problem. Since 2 days, i try to create a database with Room. I'am currenty working on Compose Desktop Application .. I have seen lot of documentations but i have any idea 🙂 Has anyone worked with Room or has a GitHub link of a project using Room ? (I'm not closed to using Sqldelight either) Cheers ! (sorry for my english)
a
I don't think you can use Room in Compose Desktop, would be better if you use SQLDelight
j
Oh shit ! Thanks, i will try so
d
Room is for Android only. Don't be confused by the presence of Compose on both Android and Desktop; this doesn't have any impact on Room compatibility. You might also consider JetBrains Exposed. Although this isn't currently a multiplatform library, it provides very nice Kotlin-y DAO abstractions on JVM (Desktop).
j
Hi @darkmoon_uk, By the way, my problem is solved. I finally use JetBrains Exposed. Ty 🙂