sqlc generates fully type-safe idiomatic code from SQL.
Seriously, it's that easy. You don't have to write any boilerplate SQL querying code ever again. See the current list of supported programming languages and databases.
Schema updates and poorly-written queries often bring down production databases. That’s bad.
When a schema change is proposed, existing queries and code running in production might fail when the schema change is applied. Enter sqlc verify, which analyzes existing queries against new schema changes and errors if there are any issues.
See it in action here.
August 5, 2024
sqlc is a command line tool that generates type-safe code from SQL. Today we released sqlc v1.27.0 with support for local managed databases.
March 28, 2024
sqlc is a command line tool that generates type-safe code from SQL. Today we released sqlc v1.26.0, mainly a bug fix release.
January 4, 2024
sqlc is a command line tool that generates type-safe code from SQL. Today we released sqlc v1.25.0, a smaller release that removes our reliance on cgo.