« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 1343 ms

GitHub - sqlc-dev/sqlc: Generate type-safe code from SQL

Source: https://github.com/sqlc-dev/sqlc

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

Name Name Last commit message Last commit date
.github .github    
.vscode .vscode    
cmd cmd    
docs docs    
examples examples    
internal internal    
pkg/ cli pkg/ cli    
protos protos    
scripts scripts    
.gitignore .gitignore    
CLAUDE.md CLAUDE.md    
Dockerfile Dockerfile    
LICENSE LICENSE    
Makefile Makefile    
NOTICE NOTICE    
README.md README.md    
buf.gen.yaml buf.gen.yaml    
buf.lock buf.lock    
buf.work.yaml buf.work.yaml    
cliff.toml cliff.toml    
devenv.lock devenv.lock    
devenv.nix devenv.nix    
devenv.yaml devenv.yaml    
docker-compose.yml docker-compose.yml    
go.mod go.mod    
go.sum go.sum    
gomod_test.go gomod_test.go    
placeholder.go placeholder.go    

Repository files navigation

sqlc: A SQL Compiler

sqlc generates type-safe code from SQL. Here's how it works:

  1. You write queries in SQL.
  2. You run sqlc to generate code with type-safe interfaces to those queries.
  3. 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