Door: Room Database for Kotlin Multiplatform [r/Android crosspost]

Hi everyone,

I have been working on making Room Database work for Kotlin multiplatform. The objectives are similar to SQLDelight. Door is a Kotlin Symbol Processor and generates Kotlin Multiplatform expect/actual implementations, so the actual Android implementation is Room itself (supports LiveData, Paging, Flow, etc). JVM supports Postgres and SQLite via JDBC. Javascript supports SQLite in the browser via SQL.js. Hopefully will support iOS/native in the near future (pull requests from anyone more familiar with iOS/Native would be very welcome).

https://github.com/UstadMobile/door/

Any feedback, bug reports, contributions, etc. would be welcome. A sync/replication engine is in process. This is all open source under an Apache license.

Thanks!

submitted by /u/mikesdawson
[link] [comments]