Hey folks, I've just open-sourced SQLiteNow-KMP - ...
# feed
t
Hey folks, I've just open-sourced SQLiteNow-KMP - a Kotlin Multiplatform library I built to make working with SQLite in KMP projects way easier and cleaner. I was originally using SQLDelight (which is great), but I wanted something more focused - specifically: • Just SQLite, no cross-database stuff • Full type-safety, but still writing real SQLNo IDE plugin required - just a Gradle plugin • Support for inline comment annotations in .sql files so I can shape the generated code exactly how I want it That last point was a big motivation for me - I needed something flexible enough to generate Kotlin code that integrates well into real-world architectures. And yeah, this library is already running in production in one of my projects, so it’s not just a toy. You'll find: • Sample project • Installation steps • Full docs all over here: GitHub: https://github.com/mobiletoly/sqlitenow-kmp Docs: https://mobiletoly.github.io/sqlitenow-kmp/ If you’re doing KMP and want a SQL-first approach without the ORM overhead, give it a shot. Would love any feedback or suggestions!
🙌 8
👍 3
m
What about web support (wasmJs/JS)?
t
as of now I rely on Kotlin Multiplatform SQLite driver (androidx.sqlite) for generated code so I'm limited with number of platforms it supports, so no WASM as of today. But it is not an architecture limitation, any driver can be added as well, so if you are aware of solid Kotlin SQLite driver for WASM - it would be helpful.