sqlc
sqlc is an open-source Go project with 17.9k GitHub stars. It is associated with code-generator, go, kotlin, mysql. The repository is actively maintained, with recent commits.
MITPermissive — free to use in commercial and proprietary software, with attribution.View license →
Production readiness
4/5- Actively maintainedCommits in the last 6 months
- No known vulnerabilitiesNot yet scanned
- Clear, usable licenseMIT (permissive)
- Proven adoptionWidely used
- Has documentationDocumentation indexed
go get sqlcsqlc: A SQL Compiler
sqlc generates type-safe code from SQL. Here's how it works:
You write queries in SQL.
You run sqlc to generate code with type-safe interfaces to those queries.
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
Supported languages
Additional languages can be added via plugins.
Sponsors
Development is possible thanks to our sponsors. If you would like to support sqlc, please consider sponsoring on GitHub.