Add SQLDelight & Write .sq Schemas
Define tables and generate type-safe Kotlin APIs.
Meet SQLDelight
SQLDelight turns your SQL into type-safe Kotlin you can call from shared code. You write real SQL, it writes the boilerplate. 🗄️
Why It Fits KMP
Because it generates plain Kotlin from SQL, the same database code runs on Android and iOS. The queries are shared, the engine is native per platform.
All lessons in this course
- Add SQLDelight & Write .sq Schemas
- Platform SqlDriver Setup
- Insert, Query & Update Rows
- Observe Tables as Flow