sqlc

从 SQL 生成类型安全的代码。「Generate type-safe code from SQL」

Github星跟蹤圖

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.

Overview

Sponsors

sqlc development is funded by our generous
sponsors
, including the following
companies:

If you use sqlc at your company, please consider becoming a
sponsor
today.

Sponsors receive priority support via the sqlc Slack organization.

Acknowledgements

sqlc was inspired by PugSQL and
HugSQL.

主要指標

概覽
名稱與所有者sqlc-dev/sqlc
主編程語言Go
編程語言Go (語言數: 6)
平台Linux, Mac
許可證MIT License
所有者活动
創建於2019-06-21 21:11:35
推送於2025-06-19 10:11:34
最后一次提交
發布數37
最新版本名稱v1.29.0 (發布於 )
第一版名稱v0.0.0-devel (發布於 )
用户参与
星數15.3k
關注者數84
派生數888
提交數1.7k
已啟用問題?
問題數1737
打開的問題數523
拉請求數1563
打開的拉請求數81
關閉的拉請求數327
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?