Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyleconroy/sqlc
Generate type-safe code from SQL
https://github.com/kyleconroy/sqlc
code-generator go kotlin mysql orm postgresql python sql sqlite
Last synced: about 1 month ago
JSON representation
Generate type-safe code from SQL
- Host: GitHub
- URL: https://github.com/kyleconroy/sqlc
- Owner: sqlc-dev
- License: mit
- Created: 2019-06-21T21:11:35.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T10:28:37.000Z (about 2 months ago)
- Last Synced: 2024-10-29T11:36:41.191Z (about 1 month ago)
- Topics: code-generator, go, kotlin, mysql, orm, postgresql, python, sql, sqlite
- Language: Go
- Homepage: https://sqlc.dev
- Size: 18.6 MB
- Stars: 13,243
- Watchers: 76
- Forks: 803
- Open Issues: 482
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - kyleconroy/sqlc - safe code from SQL|8,064| (Database Clients & Tools)
- awesome-starts - kyleconroy/sqlc - Generate type safe Go from SQL (Go)
- awesome-golang-repositories - sqlc - safe code from SQL (Repositories)
- awesome-go - sqlc - Generate type-safe code from SQL. Stars:`13.6K`. (Database / SQL Query Builders)
- awesome-go - sqlc
- awesome-go - sqlc
README
# sqlc: A SQL Compiler
![go](https://github.com/sqlc-dev/sqlc/workflows/go/badge.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/sqlc-dev/sqlc)](https://goreportcard.com/report/github.com/sqlc-dev/sqlc)sqlc generates **type-safe code** from SQL. Here's how it works:
1. You write queries in SQL.
1. You run sqlc to generate code with type-safe interfaces to those queries.
1. You write application code that calls the generated code.Check out [an interactive example](https://play.sqlc.dev/) to see it in action, and the [introductory blog post](https://conroy.org/introducing-sqlc) for the motivation behind sqlc.
## Overview
- [Documentation](https://docs.sqlc.dev)
- [Installation](https://docs.sqlc.dev/en/latest/overview/install.html)
- [Playground](https://play.sqlc.dev)
- [Website](https://sqlc.dev)
- [Downloads](https://downloads.sqlc.dev/)
- [Community](https://discord.gg/EcXzGe5SEs)## Supported languages
- [sqlc-gen-go](https://github.com/sqlc-dev/sqlc-gen-go)
- [sqlc-gen-kotlin](https://github.com/sqlc-dev/sqlc-gen-kotlin)
- [sqlc-gen-python](https://github.com/sqlc-dev/sqlc-gen-python)
- [sqlc-gen-typescript](https://github.com/sqlc-dev/sqlc-gen-typescript)Additional languages can be added via [plugins](https://docs.sqlc.dev/en/latest/reference/language-support.html#community-language-support).
## Sponsors
Development is possible thanks to our sponsors. If you would like to support sqlc,
please consider [sponsoring on GitHub](https://github.com/sponsors/kyleconroy).
Cyberax -
NaNuNaNu -
Stumble -
WestfalNamur -
alecthomas -
cameronnewman -
danielbprice -
davherrmann -
dvob -
gilcrest -
gzuidhof -
jeffreylo -
mmcloughlin -
ryohei1216 -
sgielen