README ¶ 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 Documentation Installation Playground Website Downloads Community Supported languages sqlc-gen-go sqlc-gen-kotlin sqlc-gen-python sqlc-gen-typescript 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 Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Placeholder Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Placeholder ¶ type Placeholder struct{} Source Files ¶ View all Source files placeholder.go Directories ¶ Show internal Expand all Path Synopsis cmd sqlc sqlc-gen-json examples authors/mysql authors/postgresql authors/sqlite batch/postgresql booktest/mysql booktest/postgresql booktest/sqlite jets/postgresql ondeck/mysql ondeck/postgresql ondeck/sqlite internal analysis analyzer bundler cache cmd codegen/golang codegen/golang/opts codegen/json codegen/sdk compiler config config/convert dbmanager debug engine/dolphin engine/postgresql engine/postgresql/analyzer engine/postgresql/contrib engine/postgresql/parser engine/sqlite engine/sqlite/parser ext ext/process ext/wasm inflection info metadata migrations multierr opts pattern pgx/poolcache plugin quickdb quickdb/v1 remote rpc shfmt source sql/ast sql/astutils sql/catalog sql/info sql/lang sql/named sql/rewrite sql/sqlerr sql/sqlpath sql/validate sqltest sqltest/hosted sqltest/local tools/sqlc-pg-gen tracer vet pkg cli package cli exposes the command-line interface for sqlc. package cli exposes the command-line interface for sqlc. scripts build bump-version cleanup-test-dbs mirror-go-plugin Click to show internal directories. Click to hide internal directories.