Sem descrição

Kyle Conroy c65fd43f17 feat: Use buf.build to manage protoc há 2 anos atrás
.devcontainer 194065e223 build: Support GitHub Codespace development (#1434) há 2 anos atrás
.github e20ac23fe5 config: Add basic fuzzing for config / overrides (#1500) há 2 anos atrás
cmd 4ffadfb6e7 Fix name in go.mod (#64) há 5 anos atrás
docs 0a71841b0d docs: Add more examples to updating rows (#1499) há 2 anos atrás
examples 72041b96a7 feat(codegen): Insert comments in interfaces (#1458) há 2 anos atrás
internal c65fd43f17 feat: Use buf.build to manage protoc há 2 anos atrás
pkg 6cea18db4b add pkg/cli package (#1204) há 3 anos atrás
protos c65fd43f17 feat: Use buf.build to manage protoc há 2 anos atrás
scripts 31143391cd When using pgx, map numeric types to pgtype.Numeric (#1143) há 3 anos atrás
.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) há 4 anos atrás
Dockerfile 66d4310c06 build(deps): bump golang from 1.17.8 to 1.18.0 (#1493) há 2 anos atrás
LICENSE c1121ba320 Initial open source commit há 5 anos atrás
Makefile 6b1a5b7691 build(endtoend): Don't run tests in testdata (#1492) há 2 anos atrás
README.md cbf51f8cb9 docs: Add Shiguredo to the list of sponsors há 2 anos atrás
buf.gen.yaml c65fd43f17 feat: Use buf.build to manage protoc há 2 anos atrás
buf.work.yaml c65fd43f17 feat: Use buf.build to manage protoc há 2 anos atrás
cliff.toml 45bd150197 cmd/sqlc: Bump version to v1.12.0 (#1415) há 2 anos atrás
docker-compose.yml 481f8927a8 Remove MYSQL_USER and MYSQL_PASSWORD from docker-compose.yaml (#1123) há 3 anos atrás
equinox.pub 91d9f0a99b Automatically deploy master to Equinox (#46) há 5 anos atrás
go.mod 0897308ad5 build(deps): bump google.golang.org/protobuf from 1.27.1 to 1.28.0 (#1504) há 2 anos atrás
go.sum 0897308ad5 build(deps): bump google.golang.org/protobuf from 1.27.1 to 1.28.0 (#1504) há 2 anos atrás
placeholder.go b6b5ae44f2 Compile the sql/ast and sql/ast/pg packages into one (#673) há 4 anos atrás

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.