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
- Add SQLDelight & Write .sq Schemas
- Platform SqlDriver Setup
- Insert, Query & Update Rows
- Observe Tables as Flow