Skip to content
/ sqlc Public
forked from sqlc-dev/sqlc

Generate type-safe code from SQL

License

Notifications You must be signed in to change notification settings

CNLHC/sqlc

This branch is 125 commits behind sqlc-dev/sqlc:main.

Folders and files

NameName
Last commit message
Last commit date
Mar 28, 2024
Oct 11, 2023
Nov 1, 2023
Apr 2, 2024
Mar 28, 2024
Apr 2, 2024
Jul 31, 2023
Nov 21, 2023
Jan 4, 2024
Aug 28, 2023
Jun 14, 2023
Mar 6, 2024
Nov 6, 2023
Jan 4, 2024
Jan 9, 2024
Nov 21, 2023
Jun 21, 2023
Dec 2, 2022
Jul 31, 2023
Sep 6, 2023
Oct 11, 2023
Jun 9, 2023
Oct 17, 2023
Mar 28, 2024
Mar 28, 2024
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.

Acknowledgments

sqlc was inspired by PugSQL and HugSQL.

About

Generate type-safe code from SQL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.6%
  • ANTLR 3.1%
  • Other 0.3%