About this project

sqlc is a SQL compiler that generates type-safe code from SQL queries. It works by parsing your SQL schema and queries, then generating code with type-safe interfaces for those queries. This approach eliminates manual mapping and reduces runtime errors. Key features: - Write queries in SQL, run sqlc, and get type-safe code. - Supports Go, Kotlin, Python, and TypeScript via official plugins. - Extensible with community plugins for additional languages. - Interactive playground available at play.sqlc.dev. - Comprehensive documentation at docs.sqlc.dev. Use cases: Ideal for developers who want to keep SQL as the source of truth while ensuring type safety in their application code. It's particularly useful in projects with complex queries or where database schema changes frequently.