Stack Gems
Menu
← Catalog

sqlc

MIT type-safe code gen from SQL

Databases / Data · OSS/MIT · 18.4k

Reviewed 2026-09-06 · last push 2026-10-21 · repo checked 2026-10-21

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.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/sqlc.svg)](https://stackgems.com/gems/sqlc)

HTML

<a href="https://stackgems.com/gems/sqlc"><img src="https://stackgems.com/badge/sqlc.svg" alt="sqlc reviewed on Stack Gems" height="20"></a>