Generate type-safe code from SQL
Find a file
dependabot[bot] 6b2ed2024c
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
build(deps): bump modernc.org/sqlite (#3846)
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>
2025-02-14 21:29:21 -08:00
.github Add support for json format from process plugins (#3827) 2025-02-08 11:02:30 -08:00
.vscode feat(devenv): add vscode settings.json with auto newline (#2834) 2023-10-11 13:12:22 -07:00
cmd feat(plugin): Use gRPC interface for codegen plugin communication (#2930) 2023-11-01 16:01:33 -07:00
docs mark sqlite beta support for zig plugin (#3845) 2025-02-14 21:29:08 -08:00
examples examples: Add missing Close calls (#3828) 2025-02-07 09:54:43 -08:00
internal Update postgresql_type.go: accept "timestamp" as a case (#3811) 2025-02-09 20:04:26 -08:00
pkg/cli chore: Finish migration to sqlc-dev/sqlc (#2548) 2023-07-31 08:21:16 -07:00
protos feat(verify): Add new command to verify queries and migrations (#2986) 2023-11-21 09:07:39 -08:00
scripts Add support for json format from process plugins (#3827) 2025-02-08 11:02:30 -08:00
.gitignore chore: Ignore Vim swap files (#2616) 2023-08-28 12:08:08 -07:00
.readthedocs.yaml docs: Add a ReadTheDocs config file (#2327) 2023-06-14 07:48:28 -07:00
buf.gen.yaml feat(verify): Add new command to verify queries and migrations (#2986) 2023-11-21 09:07:39 -08:00
buf.lock protos: Add missing field name (#2354) 2023-06-21 15:13:28 -07:00
buf.work.yaml setup bufbuild to generate proto (#1974) 2022-12-01 22:28:01 -08:00
cliff.toml chore: Finish migration to sqlc-dev/sqlc (#2548) 2023-07-31 08:21:16 -07:00
devenv.lock build(devenv): bump go from 1.20.7 to 1.21.0 (#2702) 2023-09-06 08:32:10 -07:00
devenv.nix refactor(codegen): Remove golang and json settings from plugin proto (#2822) 2023-10-11 12:14:16 -07:00
devenv.yaml build: Configure dependencies via devenv.sh (#2319) 2023-06-09 11:00:21 -07:00
docker-compose.yml test: Enabled MySQL database (#3318) 2024-04-04 00:08:49 -07:00
Dockerfile build(deps): bump golang from 1.23.6 to 1.24.0 (#3842) 2025-02-13 09:22:49 -08:00
go.mod build(deps): bump modernc.org/sqlite (#3846) 2025-02-14 21:29:21 -08:00
go.sum build(deps): bump modernc.org/sqlite (#3846) 2025-02-14 21:29:21 -08:00
LICENSE update: Set current year in docs and license (#3455) 2024-07-16 16:29:33 -07:00
Makefile Add support for json format from process plugins (#3827) 2025-02-08 11:02:30 -08:00
placeholder.go chore: Finish migration to sqlc-dev/sqlc (#2548) 2023-07-31 08:21:16 -07:00
README.md docs: Fix readme links (#3424) 2024-06-05 18:24:27 -07:00

sqlc: A SQL Compiler

go Go Report Card

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.

Riza.io

Coder.com Mint.fun Mux.com

Cyberax - NaNuNaNu - Stumble - WestfalNamur - alecthomas - cameronnewman - danielbprice - davherrmann - dvob - gilcrest - gzuidhof - jeffreylo - mmcloughlin - ryohei1216 - sgielen