• Stars
    star
    8,446
  • Rank 4,079 (Top 0.09 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 5 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generate type-safe code from SQL

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

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.

More Repositories

1

lua-state-machine

A finite state machine lua micro framework
Lua
321
star
2

pgoutput

Postgres logical replication in Go
Go
99
star
3

statemachine

Simple finite-state machines in Python
Python
37
star
4

grain

The Entire History of You
Go
35
star
5

apple-stock

A quick and dirty project to figure out how much an Apple product would be worth in Apple stock today
Python
34
star
6

packer-templates

Ubuntu packer templates
24
star
7

deckbrew

Magic: The Gathering API
Go
18
star
8

scrapebook

Liberating your data from Facebook in one simple step
Python
17
star
9

timesuck

Privately track your computer usage
JavaScript
17
star
10

gitlicense

REST API for determining what license a repo has
Python
13
star
11

safari-monkey

Turn user scripts into Safari extensions
Python
13
star
12

areyouresponsive

A small site that make developing responsive websites easier
Python
12
star
13

prefab

a basic configuration manager
Go
11
star
14

sqlc-playground

JavaScript
9
star
15

vogeltron

Reddit bot for updating /r/SFGiants sidebar
Python
9
star
16

cgox

Cross-compilation for cgo
Go
8
star
17

grpc-on-heroku

A simple GRPC service running on Heroku.
JavaScript
7
star
18

golite

Port the SQLite parser to Go
Go
7
star
19

python-twilio2

The next generation Twilio helper library
Python
7
star
20

handlehelp

Figure out if a handle is available on a website
JavaScript
7
star
21

sqlc-tour

Go
6
star
22

jqueried

Safari Extension for adding jQuery to the active web page
JavaScript
6
star
23

paper

A dependency-free cilent for the Dropbox Paper API
Go
6
star
24

stashboard2

A Stashboard rewrite using Django
Python
6
star
25

slackmoji

Slackup your back emoji
Go
6
star
26

dead-batteries

How many packages will PEP 594 break?
Go
6
star
27

sqlparse

Go
6
star
28

rollcall

An attendance taking application for the iPhone and iPod Touch
Objective-C
5
star
29

hello-cgo

A simple "Hello World" application using cgo
C
5
star
30

sqlc-dev

Website for sqlc
CSS
5
star
31

circle-of-parity

College Football + Science = AWESOME
JavaScript
4
star
32

brushwagg

Scrape MTG data from magiccards.info
Python
4
star
33

dockerboxes

Vagrantfiles for Docker VMs
Ruby
4
star
34

songkick

Songkick API Go client
Go
3
star
35

learning-go

Follow my path to go enlightenment
Go
3
star
36

movie-addict

Track the amount of IMDB Top 250 movies you have seen. For Facebook
PHP
3
star
37

conkerchrome

Turn Google Chrome into Conkeror
JavaScript
3
star
38

clocktower

Travel back in time with the Wayback Machine
Python
3
star
39

dropwizard-helloworld

Super basic dropwizard service
Java
3
star
40

pypirss

Subscribe to projects. Stay up to date
Python
3
star
41

keep-the-change

Turn spare change into savings
Go
3
star
42

speakers

Call to Speakers: Find Your Voice
Python
3
star
43

starfighter

Fly around and blast through asteroids in this OpenGL C++ game
C
3
star
44

blobstore

Store and retrieve binary blobs from memory, the filesystem, S3, and more.
Go
3
star
45

go-wasm-plugins

Go
2
star
46

pb

Go tools for interacting with proto files
Go
2
star
47

popfly

Easily manage development machines on EC2
Python
2
star
48

rottenrepos

repository and source code analysis
Go
2
star
49

fieldmarshal

Easy marshaling, based on Golang structs
Python
2
star
50

bin

My collection of small scripts I use daily
Python
2
star
51

setup-sqlc

GitHub Action to install sqlc
TypeScript
2
star
52

grpc-rest-proxy

Proof-of-concept, work-in-progres, GRPC-proxy-for-rest
Go
2
star
53

sqlc-kotlin-runtime

Kotlin
2
star
54

quivr

Flickr + Hypermedia API = Crazy Delicious
Python
2
star
55

karmabot

Your new best friend on Reddit
CoffeeScript
2
star
56

seamstress

Simple configuration management for Ubuntu 10.04 (soon to be 12.04). Built on top of Fabric
Python
2
star
57

Installorama

A simple way to install Mac applications
Objective-C
2
star
58

posterchild

An HTTP console for Chrome
JavaScript
2
star
59

homebrew-sqlc

Ruby
2
star
60

archive

Go
2
star
61

sentinelpub

Publish EventBrite data into the Sentinel
JavaScript
2
star
62

integrity

Subresource integrity: Generate and verify integrity digests
Go
2
star
63

webtest

A fork of webtest with a cleaner API
Python
1
star
64

pycraig

A library for searching and retrieving data from craigslist
Python
1
star
65

dataflakes

Cereal nutritional fact visualization written in Tornado and Protovis
Python
1
star
66

gtlds

List of all generic top level domains
1
star
67

concentrate

A simple program for managing /etc/hosts entries
Go
1
star
68

dothingstellpeople

A community for doing.
Ruby
1
star
69

comstock

Logs have to get to the Comstock Lode
Go
1
star
70

golang

Experiments in Go
Go
1
star
71

congressbot

Python
1
star
72

vim

My .vimrc
Vim Script
1
star
73

salesman

Command-line link checker in Python
Python
1
star
74

bitewise

A food census
Python
1
star
75

antlrs

Various generated lexers and parsers
Go
1
star
76

heroku-buildpack-grpctools

Buildpack for gRPC tooling
Shell
1
star
77

tf2toolbox

Backpack utility tools for Team Fortress 2
JavaScript
1
star
78

protobuf-docker-library

Contains dockerfiles for protobufs in different languages
Protocol Buffer
1
star
79

sqlc-gen-greeter

Rust
1
star
80

mobi

A collection of mobi books I've made
1
star
81

metrics

Metrics service for my personal website. Using Graphite and StatsD
Python
1
star
82

exportable

A guide for exporting and archiving your data
Ruby
1
star
83

migrator

Simple SQL migration for Go
Go
1
star
84

responsive-redesign

A set of user styles to make popular websites responsive
CSS
1
star
85

questions

A list of commonly used security questions
1
star
86

less.core

A standard library for less.js
CSS
1
star
87

kandr

A journey across the ANSI C with Kernighan and Ritchie
C
1
star
88

random-letter

Stupid simple app for random letters
CSS
1
star
89

binscripts

A collection of my bin scripts
Python
1
star
90

hn-comments

An analysis of 10000 Hacker News comments
1
star
91

hubot-reddit

Because this must be a good idea
CoffeeScript
1
star
92

datakick-android

Android client for Datakick
Java
1
star
93

extendplate

Template extending for Go's html/template package
Go
1
star
94

madlibs

Mad Libs with a Twilio Twist
Python
1
star
95

pullup

Resolve pull requests cleanly for git-svn
Python
1
star
96

sqlxgen

Generate SQLx tagged structs from existing database tables
Go
1
star
97

githubsocket

Github Hooks for your browser
Go
1
star
98

headofstate

Simple finite state machines in Python
Python
1
star
99

sleepercell

Sleep Tracking, written in Django
Python
1
star
100

html

HTML Turing Machine Language (HTML)
Ruby
1
star