0PricingLogin
Kotlin Multiplatform Academy · Lesson

Platform SqlDriver Setup

Provide Android and iOS drivers via expect/actual.

What a Driver Does

SQLDelight generates queries, but it needs a SqlDriver to actually talk to SQLite. Each platform ships its own driver.

Why Drivers Differ

Android and iOS open SQLite differently, so there is no single shared driver. This is exactly the job for expect/actual.

All lessons in this course

  1. Add SQLDelight & Write .sq Schemas
  2. Platform SqlDriver Setup
  3. Insert, Query & Update Rows
  4. Observe Tables as Flow
← Back to Kotlin Multiplatform Academy