https://kotlinlang.org logo
#compose
Title
# compose
m

martmists

03/09/2024, 12:17 AM
is there any cross-platform library to store SQL data for the application? (as in android+desktop)
j

jw

03/09/2024, 12:25 AM
SQL Delight works great in my opinion
1
m

martmists

03/09/2024, 1:33 AM
I don't see where SQL delight stores it; I'm assuming in app data on android, but what about desktop?
j

jw

03/09/2024, 1:35 AM
Wherever you want
User home dir is popular
In a folder
If the OS has an app dir
The library doesn't care
d

Divyansh Kushwaha

03/09/2024, 6:37 AM
I usually store it at $USER_HOME/.<app>/data/appdata.db
j

Jrichards1408

03/10/2024, 1:22 AM
Relm library
d

Divyansh Kushwaha

03/11/2024, 1:47 PM
Yes, but Realm is a Mongodb library!
j

Jrichards1408

03/11/2024, 2:07 PM
Is that a bad thing?
g

gildor

03/18/2024, 7:23 AM
Realm doesn't store SQL data, so it's not relevant to the question
🙌 1
j

Jrichards1408

03/20/2024, 12:32 PM
@gildor ahh true. sorry i forgot that detail
2 Views