Ei kuvausta

dependabot[bot] df9413cf03 build(deps): bump golang from 1.23.0 to 1.23.1 (#3586) 1 viikko sitten
.github 754b95616c chore: Remove the triage label (#3527) 1 kuukausi sitten
.vscode 170059f3f2 feat(devenv): add vscode settings.json with auto newline (#2834) 11 kuukautta sitten
cmd 4507ede83f feat(plugin): Use gRPC interface for codegen plugin communication (#2930) 10 kuukautta sitten
docs 7613c7fb1b fixed json format and invalid property (#3459) 2 viikkoa sitten
examples fe75daef25 feat(cli): Bump version from 1.26.0 to 1.27.0 (#3526) 1 kuukausi sitten
internal 598d81c394 feat(quickdb): Remove unused func (#3576) 2 viikkoa sitten
pkg 3b48228691 chore: Finish migration to sqlc-dev/sqlc (#2548) 1 vuosi sitten
protos 64313a6fe2 feat(verify): Add new command to verify queries and migrations (#2986) 10 kuukautta sitten
scripts ac1d7f5841 test(endtoend): Re-use databases when possible (#3315) 5 kuukautta sitten
.gitignore c269459151 chore: Ignore Vim swap files (#2616) 1 vuosi sitten
.readthedocs.yaml 1663392017 docs: Add a ReadTheDocs config file (#2327) 1 vuosi sitten
Dockerfile df9413cf03 build(deps): bump golang from 1.23.0 to 1.23.1 (#3586) 1 viikko sitten
LICENSE 4f930bc123 update: Set current year in docs and license (#3455) 2 kuukautta sitten
Makefile 757187c331 feat: Managed databases with any accessible server (#3421) 3 kuukautta sitten
README.md 57d7ef26c5 docs: Fix readme links (#3424) 3 kuukautta sitten
buf.gen.yaml 64313a6fe2 feat(verify): Add new command to verify queries and migrations (#2986) 10 kuukautta sitten
buf.lock da6fe0a21f protos: Add missing field name (#2354) 1 vuosi sitten
buf.work.yaml 6eb27c005c setup bufbuild to generate proto (#1974) 1 vuosi sitten
cliff.toml 3b48228691 chore: Finish migration to sqlc-dev/sqlc (#2548) 1 vuosi sitten
devenv.lock 07933428eb build(devenv): bump go from 1.20.7 to 1.21.0 (#2702) 1 vuosi sitten
devenv.nix 5ef20c6749 refactor(codegen): Remove golang and json settings from plugin proto (#2822) 11 kuukautta sitten
devenv.yaml b09ddb7d14 build: Configure dependencies via devenv.sh (#2319) 1 vuosi sitten
docker-compose.yml e8405b5bb2 test: Enabled MySQL database (#3318) 5 kuukautta sitten
go.mod 23b83cfc3c build(deps): bump the production-dependencies group across 1 directory with 2 updates (#3565) 2 viikkoa sitten
go.sum 23b83cfc3c build(deps): bump the production-dependencies group across 1 directory with 2 updates (#3565) 2 viikkoa sitten
placeholder.go 3b48228691 chore: Finish migration to sqlc-dev/sqlc (#2548) 1 vuosi sitten

README.md

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