Generate type-safe code from SQL
Last updated Jul 8, 2026
18.0k
Stars
1.1k
Forks
703
Issues
+12
Stars/day
Attention Score
97
Language breakdown
No language data available.
▸ Files
click to expand
README
sqlc: 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.
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.
Cyberax - NaNuNaNu - Stumble - WestfalNamur - alecthomas - cameronnewman - danielbprice - davherrmann - dvob - gilcrest - gzuidhof - jeffreylo - mmcloughlin - ryohei1216 - sgielen
🔗 More in this category



