Repository navigation
sqlc
Public
About
Generate type-safe code from SQL
sqlc.dev
Topics
code-generator go kotlin mysql orm postgresql python sql sqlite
Resources
Readme
MIT license
Activity
Custom properties
Stars
18.6k stars
Watchers
83 watching
Forks
1.3k forks
Report repository
Branches
Tags
Go to Branches page Go to Tags page
Latest commit
History
1,938 Commits
View commit history for this file.
Folders and files
Repository files navigation
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.
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 .
Cyberax -
NaNuNaNu -
Stumble -
WestfalNamur -
alecthomas -
cameronnewman -
danielbprice -
davherrmann -
dvob -
gilcrest -
gzuidhof -
jeffreylo -
mmcloughlin -
ryohei1216 -
sgielen
About
Generate type-safe code from SQL
sqlc.dev
Topics
code-generator go kotlin mysql orm postgresql python sql sqlite
Resources
Readme
MIT license
Activity
Custom properties
Stars
18.6k stars
Watchers
83 watching
Forks
1.3k forks
Report repository
Releases
Used by
Contributors
Languages