Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sqlc-dev/sqlc?utm_campaign=awesomego&utm_medium=referral&utm_source=awesomego
Generate type-safe code from SQL
https://github.com/sqlc-dev/sqlc?utm_campaign=awesomego&utm_medium=referral&utm_source=awesomego
List: sqlc?utm_campaign=awesomego&utm_medium=referral&utm_source=awesomego
code-generator go kotlin mysql orm postgresql python sql sqlite
Last synced: 18 days ago
JSON representation
Generate type-safe code from SQL
- Host: GitHub
- URL: https://github.com/sqlc-dev/sqlc?utm_campaign=awesomego&utm_medium=referral&utm_source=awesomego
- Owner: sqlc-dev
- License: mit
- Created: 2019-06-21T21:11:35.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T13:25:43.000Z (7 months ago)
- Last Synced: 2024-05-02T00:38:54.359Z (7 months ago)
- Topics: code-generator, go, kotlin, mysql, orm, postgresql, python, sql, sqlite
- Language: Go
- Homepage: https://sqlc.dev
- Size: 17.5 MB
- Stars: 10,980
- Watchers: 70
- Forks: 708
- Open Issues: 326
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - go generate types from sql
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