sqldelight/sqldelight
SQLDelight - Generates typesafe Kotlin APIs from SQL observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 51
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 151.5
- age_days: 3969
- days_rel: 170
- days_push: 7
- n_releases_24m: 3
Adoption not part of the score
6865 stars · 576 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SQLDelight is a Kotlin code generation tool that produces typesafe APIs from SQL statements. It verifies schemas, queries, and migrations at compile time and supports SQLite across Android, iOS, JVM, JS, and Kotlin Multiplatform, plus MySQL, PostgreSQL, and H2 on the JVM.
Use cases
- generate typesafe kotlin code from sql queries
- use sqlite in kotlin multiplatform apps
- verify sql schema and migrations at compile time
- local database persistence for android apps
- share database code between ios and android
- query mysql or postgresql with typesafe kotlin apis
When to choose
- you write sql by hand and want compile-time safety and IDE support
- you need a shared local database across kotlin multiplatform targets
- you want schema and migration verification in your build
When to avoid
- you prefer a runtime ORM with entity mapping over sql-first codegen
- your project is not on the jvm/kotlin ecosystem
- you need a database dialect not covered by sqldelight
Facets
library · maturity active
database orm type-system databases mobile-development developer-tools cross-platform jvm windows kotlin sql sqlite mysql postgresql compile-time-verification schema-migrations gradle-plugin jetbrains-ide-plugin code-generation android ios macos kotlin-multiplatform javascript
2 sources
- readme: https://github.com/sqldelight/sqldelight · fetched 2026-08-28 · 56883c4819ab
- homepage: https://sqldelight.github.io/sqldelight/ · fetched 2026-08-29 · 9630f1761fdb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sqldelight/sqldelight | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="sqldelight/sqldelight")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem