No Description

Kyle Conroy 387ea45b2a Use jackc/pgtype for inet and cidr types 3 years ago
.github b36e368ade endtoend: Run `go test` in CI (#1134) 3 years ago
cmd 4ffadfb6e7 Fix name in go.mod (#64) 5 years ago
docs 5785f2388a Update getting-started.md (#1133) 3 years ago
examples bab5cbf340 Merge branch 'main' of ssh://github.com/kyleconroy/sqlc into kyleconroy-main 3 years ago
internal 387ea45b2a Use jackc/pgtype for inet and cidr types 3 years ago
scripts af6e13829a Don't publishing using Equinox (#1092) 3 years ago
.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 years ago
Dockerfile 7f83322580 build(deps): bump golang from 1.16.7 to 1.17.0 (#1129) 3 years ago
LICENSE c1121ba320 Initial open source commit 5 years ago
Makefile 8cde4ef290 catalog: Improve variadic argument support (#804) 4 years ago
README.md bed10652d3 Add RStudio to list of sponsors (#1131) 3 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 ce1e40ee7a build(deps): bump github.com/jackc/pgx/v4 from 4.12.0 to 4.13.0 (#1094) 3 years ago
go.sum ce1e40ee7a build(deps): bump github.com/jackc/pgx/v4 from 4.12.0 to 4.13.0 (#1094) 3 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.