暫無描述

Kyle Conroy 7079eb8458 fix: Rebase on main 2 年之前
.devcontainer 194065e223 build: Support GitHub Codespace development (#1434) 2 年之前
.github 45bd150197 cmd/sqlc: Bump version to v1.12.0 (#1415) 2 年之前
cmd 4ffadfb6e7 Fix name in go.mod (#64) 5 年之前
docs dd3b2b87ff docs: Add more documentation for go_type (#1432) 2 年之前
examples 58b0b6593f build: Format all Go code (#1387) 2 年之前
internal 7079eb8458 fix: Rebase on main 2 年之前
pkg 6cea18db4b add pkg/cli package (#1204) 3 年之前
protos c8926c223e refactor(codegen): Port Kotlin codegen package to use plugin types (#1416) 2 年之前
scripts 31143391cd When using pgx, map numeric types to pgtype.Numeric (#1143) 3 年之前
.gitignore 7141539736 mysql update docs with env vars, update test with json field, fill cleanup function wip see why error happens unkown json type with mysql engine (#742) 4 年之前
Dockerfile e634bb5909 build(deps): bump golang from 1.17.6 to 1.17.7 (#1431) 2 年之前
LICENSE c1121ba320 Initial open source commit 5 年之前
Makefile 194065e223 build: Support GitHub Codespace development (#1434) 2 年之前
README.md b0989e152a Add Context to the list of sponsors (#1306) 3 年之前
cliff.toml 45bd150197 cmd/sqlc: Bump version to v1.12.0 (#1415) 2 年之前
docker-compose.yml 481f8927a8 Remove MYSQL_USER and MYSQL_PASSWORD from docker-compose.yaml (#1123) 3 年之前
equinox.pub 91d9f0a99b Automatically deploy master to Equinox (#46) 5 年之前
go.mod 323187f43d feat(sqlite): Start expanding support (#1410) 2 年之前
go.sum 323187f43d feat(sqlite): Start expanding support (#1410) 2 年之前
placeholder.go b6b5ae44f2 Compile the sql/ast and sql/ast/pg packages into one (#673) 4 年之前

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.