2 Repos
Generating type-safe methods for database queries during the build process.
Distinct from Type-Safe Client Generators: Distinct from Type-Safe Client Generators: focuses on generating the local database access API rather than network-based client-server communication.
Explore 2 awesome GitHub repositories matching web development · Database API Generation. Refine with filters or upvote what's useful.
SQLDelight is a Kotlin database library that validates SQL schema, statements, and migrations at compile time, generating type-safe Kotlin query functions from labeled SQL files. It treats SQL as the source of truth for database definitions, catching schema errors during the build process before they reach production. The library supports multiple database dialects including SQLite, MySQL, PostgreSQL, HSQL, and H2, and generates platform-specific code for Android, iOS, JVM, and JavaScript targets. It provides a platform-specific driver abstraction that handles database connectivity difference
Generates type-safe database access APIs from SQL schema and queries at compile time.
Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database tables to classes and execute SQL queries with build-time validation. It functions as a type-safe query builder and a wrapper for SQLite and PostgreSQL, eliminating manual result set parsing by binding query outputs to native objects. The project distinguishes itself through a build-time code generation system that produces type-safe APIs and validates raw SQL statements against database versions before execution. It features reactive query streaming, which transforms SQL queries
Creates typed methods from SQL queries during the build process to eliminate manual parsing.