Skip to content

sqlc-dev/sqlc

Folders and files

NameName
Last commit message
Last commit date
Mar 24, 2025
Oct 11, 2023
Nov 1, 2023
Mar 25, 2025
Feb 7, 2025
Apr 1, 2025
Jul 31, 2023
Nov 21, 2023
Feb 8, 2025
Aug 28, 2023
Jun 14, 2023
Mar 24, 2025
Jul 16, 2024
Feb 8, 2025
Jun 6, 2024
Nov 21, 2023
Jun 21, 2023
Dec 2, 2022
Jul 31, 2023
Mar 24, 2025
Mar 24, 2025
Jun 9, 2023
Apr 4, 2024
Apr 1, 2025
Apr 1, 2025
Jul 31, 2023

Repository files navigation

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