# sqlc

> MIT type-safe code gen from SQL

**Category:** Databases  
**Pricing:** open-source  
**URL:** https://sqlc.dev  
**GitHub:** https://github.com/sqlc-dev/sqlc  
**Added:** 2026-09-06

---

## The Hook

sqlc turns annotated SQL into typed query code when you want SQL as source of truth, not an ORM DSL.

## What's Good

MIT. Write SQL, get Go/Kotlin/Python/TypeScript stubs with compile-time types. No runtime ORM magic. Great for Postgres/MySQL/SQLite shops that like queries readable.

## The Catch

Codegen from SQL - not Prisma/Drizzle ORM, not a database. Schema migrations are still yours (golang-migrate, Atlas, etc.). Language support depth varies.

## Verdict

MIT SQL codegen. Free forever; not an ORM.
