Aucune description

Kyle Conroy 30d27943d7 docs: Add changelog for v1.24.0 il y a 11 mois
.github a113b6780a feat(examples): Use hosted MySQL databases for tests (#2982) il y a 1 an
.vscode 170059f3f2 feat(devenv): add vscode settings.json with auto newline (#2834) il y a 1 an
cmd 4507ede83f feat(plugin): Use gRPC interface for codegen plugin communication (#2930) il y a 1 an
docs 30d27943d7 docs: Add changelog for v1.24.0 il y a 11 mois
examples a113b6780a feat(examples): Use hosted MySQL databases for tests (#2982) il y a 1 an
internal d5c530268f fix: Return an error instead of generating duplicate Go names (#2962) il y a 11 mois
pkg 3b48228691 chore: Finish migration to sqlc-dev/sqlc (#2548) il y a 1 an
protos 64313a6fe2 feat(verify): Add new command to verify queries and migrations (#2986) il y a 11 mois
scripts ed9264d31c feat: Add script to mirror code to sqlc-gen-go (#2952) il y a 1 an
.gitignore c269459151 chore: Ignore Vim swap files (#2616) il y a 1 an
.readthedocs.yaml 1663392017 docs: Add a ReadTheDocs config file (#2327) il y a 1 an
Dockerfile f36106c09c chore: Bump Go version from 1.21.3 to 1.21.4 in workflows and Dockerfile (#2961) il y a 1 an
LICENSE 3b528ec35d chore: Clean up a little, update LICENSE and README (#2941) il y a 1 an
Makefile eac251f258 docs: Use docker compose v2 and update MYSQL_DATABASE env var (#2870) il y a 1 an
README.md 3b528ec35d chore: Clean up a little, update LICENSE and README (#2941) il y a 1 an
buf.gen.yaml 64313a6fe2 feat(verify): Add new command to verify queries and migrations (#2986) il y a 11 mois
buf.lock da6fe0a21f protos: Add missing field name (#2354) il y a 1 an
buf.work.yaml 6eb27c005c setup bufbuild to generate proto (#1974) il y a 1 an
cliff.toml 3b48228691 chore: Finish migration to sqlc-dev/sqlc (#2548) il y a 1 an
devenv.lock 07933428eb build(devenv): bump go from 1.20.7 to 1.21.0 (#2702) il y a 1 an
devenv.nix 5ef20c6749 refactor(codegen): Remove golang and json settings from plugin proto (#2822) il y a 1 an
devenv.yaml b09ddb7d14 build: Configure dependencies via devenv.sh (#2319) il y a 1 an
docker-compose.yml eac251f258 docs: Use docker compose v2 and update MYSQL_DATABASE env var (#2870) il y a 1 an
go.mod e120ef20ec feat(ci): Rely on go.mod to determine which Go version to use (#2971) il y a 1 an
go.sum 41d71654f1 build(deps): bump github.com/google/cel-go from 0.18.1 to 0.18.2 (#2969) il y a 1 an
placeholder.go 3b48228691 chore: Finish migration to sqlc-dev/sqlc (#2548) il y a 1 an

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, and the introductory blog post for the motivation behind sqlc.

Overview

Acknowledgments

sqlc was inspired by PugSQL and HugSQL.