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
Alejandro Rios
10/31/2022, 1:58 PM
I don't think you can use Room in Compose Desktop, would be better if you use SQLDelight
j
Jules Marche
10/31/2022, 2:01 PM
Oh shit !
Thanks, i will try so
d
darkmoon_uk
10/31/2022, 9:37 PM
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
Jules Marche
11/03/2022, 2:22 PM
Hi @darkmoon_uk,
By the way, my problem is solved. I finally use JetBrains Exposed.
Ty 🙂