KMP Inspection
Inspection
Inspection is about making generated schema and SQL behavior visible while you iterate.
For KMP, persist the inspected schema database from the Gradle plugin:
sqliteNow {
databases {
create("AppDatabase") {
packageName.set("com.example.app.db")
schemaDatabaseFile.set(layout.projectDirectory.file("tmp/schema.db"))
}
}
}
The file is recreated when generation runs, and you can open it with a SQLite client to inspect tables, indexes, views, and inferred schema state.