Skip to content

sqlc-dev/sqlc

Repository files navigation

sqlc: A SQL Compiler

go Go Report Card

sqlc generatestype-safe codefrom 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 outan interactive exampleto see it in action, and theintroductory blog postfor the motivation behind sqlc.

Overview

Supported languages

Additional languages can be added viaplugins.

Sponsors

Development is possible thanks to our sponsors. If you would like to support sqlc, please considersponsoring 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