Generate type-safe code from SQL
See the codesqlc generates type-safe code from SQL. Here's how it works:
Check out an interactive example to see it in action, and the introductory blog post for the motivation behind sqlc.
Additional languages can be added via plugins.
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
Overall
Maintained
Code review
Go module
Latest release
Releases this year
(top 24 of 304)
53,255 followers · starred May 2026
2,592 followers · starred Nov 2024
2,179 followers · starred Mar 2022
1,080 followers · starred Aug 2021
Generate type-safe code from SQL
See the codesqlc generates type-safe code from SQL. Here's how it works:
Check out an interactive example to see it in action, and the introductory blog post for the motivation behind sqlc.
Additional languages can be added via plugins.
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
Overall
Maintained
Code review
Go module
Latest release
Releases this year
(top 24 of 304)
53,255 followers · starred May 2026
2,592 followers · starred Nov 2024
2,179 followers · starred Mar 2022
1,080 followers · starred Aug 2021