FindSoftware

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

Status
Active
Maintainer
Riza, Inc.3
Maintained by
Company
First release
20194

Rendering and deploy

Runs as
Dev only10
Install with
homebrew, snap, go install, docker, download6

Releases

Current major version
17
Last release
2026-04-227

Adoption

GitHub stars
18,4611
Contributors
2428

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/sqlc-dev/sqlc
  2. 2026-11-16: links
    github.com/sqlc-dev/sqlc/blob/main/README.md
  3. 2026-11-16: Maintainer, License model
    github.com/sqlc-dev/sqlc/blob/main/LICENSE
  4. 2026-11-16: First release
    api.github.com/repos/sqlc-dev/sqlc/git/refs/tags/v0.0.0-devel
  5. 2026-11-16: Categories
    sqlc.dev/
  6. 2026-11-16: Runtime, Install with
    docs.sqlc.dev/en/latest/overview/install.html
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/sqlc-dev/sqlc/releases
  8. 2026-11-16: Contributors
    api.github.com/repos/sqlc-dev/sqlc/contributors?per_page=1
  9. 2026-11-16: Databases
    docs.sqlc.dev/en/latest/reference/language-support.html
  10. 2026-11-16: Runs as
    docs.sqlc.dev/en/latest/howto/ci-cd.html

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON