No Description

Kyle Conroy 360451bf9a I need to think about this more; pgx shouldn't be required 2 years ago
.devcontainer 194065e223 build: Support GitHub Codespace development (#1434) 2 years ago
.github 0056901e44 Update BUG_REPORT.yml (#1672) 2 years ago
cmd 0ca51b7616 feat: Process-based codegen plugins (#1578) 2 years ago
docs f313c05a9f Added documentation for type overriding and field renaming for the version 2 of the configuration file (#1695) 2 years ago
examples 360451bf9a I need to think about this more; pgx shouldn't be required 2 years ago
internal 360451bf9a I need to think about this more; pgx shouldn't be required 2 years ago
pkg 6cea18db4b add pkg/cli package (#1204) 3 years ago
protos 0ca51b7616 feat: Process-based codegen plugins (#1578) 2 years ago
scripts 9c3a985397 internal/codegen: add Enum.Valid and AllEnumValues (#1613) 2 years ago
.gitignore 04c6c90d59 Pydantic models config field (#1538) 2 years ago
Dockerfile eb6015ec1b build(deps): bump golang from 1.18.2 to 1.18.3 (#1658) 2 years ago
LICENSE c1121ba320 Initial open source commit 5 years ago
Makefile 0ca51b7616 feat: Process-based codegen plugins (#1578) 2 years ago
README.md dff26be021 docs: Add links to downloads.sqlc.dev (#1681) 2 years ago
cliff.toml 053b9c8d9c docs: Include scope in changelog format (#1521) 2 years ago
docker-compose.yml 481f8927a8 Remove MYSQL_USER and MYSQL_PASSWORD from docker-compose.yaml (#1123) 3 years ago
equinox.pub 91d9f0a99b Automatically deploy master to Equinox (#46) 5 years ago
go.mod 360451bf9a I need to think about this more; pgx shouldn't be required 2 years ago
go.sum 360451bf9a I need to think about this more; pgx shouldn't be required 2 years ago
placeholder.go b6b5ae44f2 Compile the sql/ast and sql/ast/pg packages into one (#673) 4 years ago

README.md

sqlc: A SQL Compiler

go Go Report Card

sqlc generates type-safe code from SQL. Here's how it works:

  1. You write queries in SQL.
  2. You run sqlc to generate code with type-safe interfaces to those queries.
  3. You write application code that calls the generated code.

Check out an interactive example to see it in action.

Overview

Sponsors

sqlc development is funded by our generous sponsors, including the following companies:

If you use sqlc at your company, please consider becoming a sponsor today.

Sponsors receive priority support via the sqlc Slack organization.

Acknowledgements

sqlc was inspired by PugSQL and HugSQL.