sqlc-dev/sqlc

Public

Generate type-safe code from SQL

  • Stars18.4k+20 tuần này
  • Forks1.1k
  • Watchers81
  • Issues592
  • Ngày tạo22/06/2019
  • Cập nhật gần nhất26/10/2026
  • Ngôn ngữGo
  • Giấy phépMIT
README.md6.8 KBRaw

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.

Coder.com Mint.fun Mux.com

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

Nội dung README thuộc về sqlc-dev và cộng đồng đóng góp, giấy phép MIT. Nguồn: github.com/sqlc-dev/sqlc