{"data":{"slug":"sqlc","name":"sqlc","tagline":"MIT type-safe code gen from SQL","category":"databases","categoryName":"Databases","url":"https://sqlc.dev","github":"https://github.com/sqlc-dev/sqlc","pricing":"open-source","hook":"sqlc turns annotated SQL into typed query code when you want SQL as source of truth, not an ORM DSL.","whatsGood":"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.","theCatch":"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.","addedAt":"2026-09-06","featured":false,"domain":"Databases","subSpecialty":"Data","capabilities":["orm"],"surfaces":["Self-host"],"ecosystem":["Multi-platform"],"licenseModel":"OSS/MIT","githubStars":18251},"related":[{"slug":"supabase","name":"Supabase","tagline":"Open-source Firebase alternative built on Postgres"},{"slug":"turso","name":"Turso","tagline":"SQLite at the edge with libSQL"},{"slug":"redis","name":"Redis","tagline":"The in-memory data store everyone uses"},{"slug":"upstash","name":"Upstash","tagline":"Serverless Redis and Kafka"},{"slug":"pinecone","name":"Pinecone","tagline":"Vector database for AI applications"}],"links":{"self":"/api/gems/sqlc","html":"/gems/sqlc","markdown":"/gems/sqlc.md","category":"/api/gems?category=databases","categoryPage":"/stacks/databases"}}