2 个仓库
Executes SQL queries through generated typed functions that accept parameters and return structured results.
Distinct from SQL Query Execution: Distinct from SQL Query Execution: focuses on executing queries through generated type-safe APIs, not general SQL execution.
Explore 2 awesome GitHub repositories matching data & databases · Typesafe Query Executions. 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
Labels SQL statements to produce generated typed functions that run the statements and return typed objects.
This project is a database toolkit for Go that provides schema-to-object mapping, fluent query construction, and automated code generation. It functions as a framework for type-safe database access, enabling developers to interact with relational databases by generating models and interfaces directly from existing database schemas. The toolkit distinguishes itself through a workflow that parses hand-written SQL files to generate type-safe functions, allowing for the integration of custom SQL while maintaining consistent result mapping. It supports modular customization through a plugin-based
Maps query results directly into defined structures to eliminate manual row scanning while managing transactions and prepared statements.