awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sqlc-dev avatar

sqlc-dev/sqlc

0
View on GitHub↗
17,882 Stars·1,057 Forks·Go·MIT·4 Aufrufesqlc.dev↗

Sqlc

sqlc is a code generation tool that compiles raw SQL queries into type-safe application code. By analyzing SQL statements against database schema definitions during the build process, it eliminates the need for manual data mapping and prevents runtime type errors.

The project functions as a schema-aware generator that translates database column types into native language primitives. It distinguishes itself through a modular, plugin-based architecture that allows for the extension of the generation pipeline to support diverse programming languages and custom frameworks beyond its default capabilities.

Beyond basic generation, the tool provides automated validation of SQL queries and schema compatibility, ensuring that database interactions remain consistent with the underlying schema before code is deployed. It also supports the creation of transactional query blocks and strongly-typed update functions to maintain data integrity across application logic.

Features

  • Type-Safe - Compiles raw SQL queries into type-safe application code to eliminate manual data mapping and runtime errors.
  • Type-Safe Database Clients - Generates strongly-typed interfaces for database operations to eliminate manual data mapping and runtime errors.
  • Schema-Driven Code Generators - Generates idiomatic, type-safe application code by cross-referencing SQL queries against database schema definitions.
  • SQL Schema Validators - Verifies SQL queries against database schema definitions during the build process to catch breaking changes.
  • Schema Compatibility Validators - Verifies SQL queries against database schema definitions during the build process to ensure compatibility and prevent deployment failures.
  • Database Automation Tools - Automates the creation of boilerplate-free database interaction code to ensure reliable storage layer communication.
  • Type-Safe Client Generators - Creates language-specific code interfaces from SQL queries to prevent runtime type errors.
  • Compile-Time Validators - Verifies SQL query validity against database schema definitions during the build process.
  • Database Tools - Listed in the “Database Tools” section of the Awesome Go awesome list.
  • Databases and Storage - Generates type-safe code from SQL queries.
  • Code Generators - Provides a modular, plugin-based system to generate specialized, type-safe database access code for various programming languages.
  • SQL Query Execution - Validates SQL statements against the database schema during compilation to confirm syntax and type compatibility.
  • Plugin-Based Architectures - Provides a modular architecture allowing external plugins to extend the code generation pipeline.
  • Type Mapping Utilities - Translates database column types into native language primitives to ensure type safety in generated code.
  • Code Generation Pipelines - Provides extensible build pipelines to produce specialized database access code for various frameworks.
  • Code Generation - Enables the addition of custom plugins to the compilation pipeline for specialized code generation.

Star-Verlauf

Star-Verlauf für sqlc-dev/sqlcStar-Verlauf für sqlc-dev/sqlc

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht sqlc-dev/sqlc?

sqlc is a code generation tool that compiles raw SQL queries into type-safe application code. By analyzing SQL statements against database schema definitions during the build process, it eliminates the need for manual data mapping and prevents runtime type errors.

Was sind die Hauptfunktionen von sqlc-dev/sqlc?

Die Hauptfunktionen von sqlc-dev/sqlc sind: Type-Safe, Type-Safe Database Clients, Schema-Driven Code Generators, SQL Schema Validators, Schema Compatibility Validators, Database Automation Tools, Type-Safe Client Generators, Compile-Time Validators.

Welche Open-Source-Alternativen gibt es zu sqlc-dev/sqlc?

Open-Source-Alternativen zu sqlc-dev/sqlc sind unter anderem: digitallyinduced/ihp — ihp is a type-safe web framework and full-stack application orchestrator designed for PostgreSQL. It functions as a… ent/ent — Ent is a statically typed entity framework for Go that models database structures as a graph of nodes and edges. It… kyleconroy/sqlc — sqlc is a SQL compiler and code generator that creates type-safe database client code from raw SQL queries. It… jooq/jooq — jOOQ is a type-safe SQL query builder for Java that generates code from live database schemas, enabling compile-time… geldata/gel — Gel is an object-relational database system that models data as a graph of interconnected objects. By utilizing a… stephenafamo/bob — This project is a database toolkit for Go that provides schema-to-object mapping, fluent query construction, and…

Open-Source-Alternativen zu Sqlc

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Sqlc.
  • digitallyinduced/ihpAvatar von digitallyinduced

    digitallyinduced/ihp

    5,294Auf GitHub ansehen↗

    ihp is a type-safe web framework and full-stack application orchestrator designed for PostgreSQL. It functions as a server-side rendering framework and a type-safe ORM that automatically generates record types from SQL schemas to ensure compile-time query validation. The platform distinguishes itself by verifying routing, database queries, and templates at compile time to prevent runtime crashes. It implements real-time web interfaces using WebSockets for instant data synchronization and employs server-driven hypermedia for partial DOM patching. The framework covers a broad range of integrat

    Haskellframeworkhacktoberfesthaskell
    Auf GitHub ansehen↗5,294
  • ent/entAvatar von ent

    ent/ent

    17,110Auf GitHub ansehen↗

    Ent is a statically typed entity framework for Go that models database structures as a graph of nodes and edges. It functions as a code generation engine that transforms schema definitions into type-safe database clients, query builders, and migration scripts. By representing data as interconnected entities, the framework enables intuitive traversal of complex relationships and ensures that database interactions remain consistent with the application model at compile time. The framework distinguishes itself through its graph-based approach to data modeling and its reliance on compile-time cod

    Goententity-frameworkorm
    Auf GitHub ansehen↗17,110
  • kyleconroy/sqlcAvatar von kyleconroy

    kyleconroy/sqlc

    17,886Auf GitHub ansehen↗

    sqlc is a SQL compiler and code generator that creates type-safe database client code from raw SQL queries. It transforms SQL statements into typed definitions and functions, eliminating the need for manual row mapping between database results and application structures. The tool ensures compile-time safety by validating SQL queries against the database schema before the application is run. This workflow integrates the database schema directly into the application code, deriving types from the underlying SQL definitions to prevent runtime errors. The system utilizes AST-based query analysis

    Go
    Auf GitHub ansehen↗17,886
  • jooq/jooqAvatar von jOOQ

    jOOQ/jOOQ

    6,666Auf GitHub ansehen↗

    jOOQ is a type-safe SQL query builder for Java that generates code from live database schemas, enabling compile-time validation of SQL syntax and data types. Its core identity is built around a fluent DSL that mirrors SQL structure, a code generator that maps tables, views, and routines to Java objects, and a multi-dialect engine that translates the same DSL into vendor-specific SQL for over 30 databases. The project also includes a SQL parser and transformer for refactoring or dialect conversion, reactive stream integration for non-blocking query execution, and a JDBC proxy diagnostics tool f

    Javacode-generatordatabasedb2
    Auf GitHub ansehen↗6,666
Alle 30 Alternativen zu Sqlc anzeigen→