SQLDelight vs ts-proto
SQLDelight
sqldelight.github.iots-proto
github.comSide by side
| Figure | SQLDelight | ts-proto |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | Yes | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | Yes | — |
| Android | Yes | — |
| API | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 2 | 1 |
| Spec score · Code Generators | 8.4 (#8) | 7.9 (#18) |
| Gradle integration | The Gradle plugin lets projects register databases and select a dialect dependency such as sqlite-3-24-dialect. | The README documents invoking ts-proto through the protobuf-gradle-plugin. |
| Integrations | The docs provide extensions for Kotlin coroutines, RxJava, and AndroidX Paging, alongside a Gradle plugin. | The README documents use with protoc, Buf, and the protobuf Gradle plugin. |
| Purpose | SQLDelight generates typesafe Kotlin APIs from SQL statements. | ts-proto transforms .proto files into strongly typed, idiomatic TypeScript files. |
Plans
In their own words
SQLDelight
SQLDelight generates typesafe Kotlin APIs from SQL statements and checks database schemas, SQL statements, and migrations at compile time. Its IDE features include SQL autocomplete and refactoring support. Documented database dialects include SQLite, MySQL, and PostgreSQL; HSQL and H2 are experimental, while CockroachDB, DB2, and Oracle dialects are listed as third-party options. The JVM connection overview lists MySQL and PostgreSQL, with JDBC and R2DBC variants shown for supported dialects. The project provides a Gradle plugin and extensions for Kotlin coroutines, RxJava, and AndroidX Paging. Its coroutines extension can expose a query as a Flow and emit updated results when the queried data changes. The Gradle verifySqlDelightMigration task applies migrations to stored schema databases and checks whether they reach the latest schema. SQLDelight is open source under the Apache-2.0 license and has a free listing at free, with no paid tiers stated. Its listed platforms are Android, API, iOS, Linux, macOS, web, and Windows.