sqlc
Command-line tool that generates type-safe code from SQL queries.
sqlc is a command-line tool that turns SQL queries into type-safe code. You write queries in SQL, run sqlc to generate code with typed interfaces to them, and call that generated code from your application.
The tool ships as a single binary. The docs suggest running it as part of a CI/CD pipeline, so it stays on the developer side and never runs on the live site.
Worth knowing
The go install route needs a recent Go toolchain, which the install page states.
Identity
Rendering and deploy
Releases
Adoption
Sources
- 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/sqlc-dev/sqlc - 2026-11-16: links
github.com/sqlc-dev/sqlc/blob/main/README.md - 2026-11-16: Maintainer, License model
github.com/sqlc-dev/sqlc/blob/main/LICENSE - 2026-11-16: First release
api.github.com/repos/sqlc-dev/sqlc/git/refs/tags/v0.0.0-devel - 2026-11-16: Categories
sqlc.dev/ - 2026-11-16: Runtime, Install with
docs.sqlc.dev/en/latest/overview/install.html - 2026-11-16: Current major version, Last release
api.github.com/repos/sqlc-dev/sqlc/releases - 2026-11-16: Contributors
api.github.com/repos/sqlc-dev/sqlc/contributors?per_page=1 - 2026-11-16: Databases
docs.sqlc.dev/en/latest/reference/language-support.html - 2026-11-16: Runs as
docs.sqlc.dev/en/latest/howto/ci-cd.html