# sqlc

> Generate type-safe code from SQL

Write SQL queries and get typed Go, Kotlin or Python code.

- Source: https://github.com/sqlc-dev/sqlc
- Homepage: https://sqlc.dev
- License: MIT
- Language: Go
- Stars: 18343
- Forks: 1092
- Contributors: 246
- Last commit: 2026-09-13
- Latest release: v1.31.1 (2026-04-22)
- Purpose: Developer tools, Databases & backends
- Runs on: CLI
- For: Personal, Enterprise

## Worth score: 76/100

How much DigGitHub recommends it, from activity, adoption, docs, license and security signals.

- Popularity: 21/25
- Momentum: 10/20
- Maintenance: 21/25
- Community: 12/15
- Readiness: 12/15

## Alternatives

- [DuckDB](https://diggithub.com/duckdb/duckdb.md): In-process analytical SQL database
- [PocketBase](https://diggithub.com/pocketbase/pocketbase.md): Open-source backend in one file
- [SQLite](https://diggithub.com/-/sqlite.org): The most widely deployed database engine in the world
- [etcd](https://diggithub.com/etcd-io/etcd.md): Reliable distributed key-value store
- [Appwrite](https://diggithub.com/appwrite/appwrite.md): Backend platform for web, mobile and AI apps
- [TypeORM](https://diggithub.com/typeorm/typeorm.md): ORM for TypeScript and JavaScript
- [TiDB](https://diggithub.com/pingcap/tidb.md): Distributed SQL database
- [ClickHouse](https://diggithub.com/ClickHouse/ClickHouse.md): Real-time analytics database

---

Source page: https://diggithub.com/sqlc-dev/sqlc
Updated: 2026-10-03
