Great migration to SQLDelight
summary
Shows a concrete path to replace existing Android databases with SQLDelight: Kotlin Multiplatform common module, SQLDelight Gradle plugin, .sq schema files, Android driver, then repository rewrites—presented as a five-step migration with commit-hashed examples. Demonstrates migrations from SQLite, Room, Realm using an Emoji Books app; SQLite/Room migrate cleanly with generated type-safe Kotlin APIs and compile-time checks, while Realm requires programmatic export (demo wipes data). Includes a sample app on GitHub with in-memory and per-database commits to follow.
AI-written summary · about
chapters (13)
- 0:00Introduction to talk
- 1:18Kotlin multiplatform overview
- 2:20SQLDelight features explained
- 4:04Sample app Emoji Books
- 5:30Migrating from SQLite
- 7:18SQLDelight migration steps
- 9:47Generated APIs in use
- 10:08Migrating from Room
- 11:30Migrating from Realm
- 12:55Migration summary
- 13:36Reusing code on iOS
- 13:58Useful resources
- 15:21Closing and Q&A
related talks
47mA Multiplatform Delight
39mSELECT * FROM Kotlin
35mMultiplatform Persistence
34mDon’t fear SQL: A better way to store and handle data with SQLBrite & SQLDelight
42mThe Resurgence of SQL
48mDevOps Discovery: Navigating the Database Landscape
42mSEQUEL SQL for Android Developers
48mDevOps Discovery: Navigating the Database Landscape
