mirror of
https://github.com/sqlc-dev/sqlc.git
synced 2025-03-19 10:02:32 +03:00
Generate type-safe code from SQL
![]()
Some checks failed
kotlin / test (push) Has been cancelled
python / test (push) Has been cancelled
typescript / test (push) Has been cancelled
go / test macos-14 cgo=0 (push) Has been cancelled
go / test ubuntu-22.04 cgo=0 (push) Has been cancelled
go / test macos-14 cgo=1 (push) Has been cancelled
go / test ubuntu-22.04 cgo=1 (push) Has been cancelled
go / vuln_check (push) Has been cancelled
Bumps the production-dependencies group with 1 update: [modernc.org/sqlite](https://gitlab.com/cznic/sqlite). Updates `modernc.org/sqlite` from 1.34.5 to 1.35.0 - [Commits](https://gitlab.com/cznic/sqlite/compare/v1.34.5...v1.35.0) --- updated-dependencies: - dependency-name: modernc.org/sqlite dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
.vscode | ||
cmd | ||
docs | ||
examples | ||
internal | ||
pkg/cli | ||
protos | ||
scripts | ||
.gitignore | ||
.readthedocs.yaml | ||
buf.gen.yaml | ||
buf.lock | ||
buf.work.yaml | ||
cliff.toml | ||
devenv.lock | ||
devenv.nix | ||
devenv.yaml | ||
docker-compose.yml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
placeholder.go | ||
README.md |
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