Hi all! What have you used for your small-footprint sql storage needs in your multiplatform projects?
t
Tim Karagosian
04/28/2025, 3:46 PM
I tried sqldelight and hated it. Lots of boilerplate, error prone, and tedious. Then I switched over to Room when it was supported for KMP and it's been more pleasant to use. I just use sqlite with it as it's very lightweight and performant.
s
saba
04/28/2025, 8:27 PM
Yeah that sounds like the issues i’ve been having. I’ll give Room a try, thanks!
t
Tim Karagosian
04/28/2025, 9:08 PM
Biggest issue I have with Room is for KMP it’s not thread safe for concurrent writes and I had to do some handling to ensure the db was closed before another write. Reads should be more straightforward though.