Compile SQL to type-safe code
sqlc generates fully type-safe idiomatic code from SQL.
- You write SQL queries
- You run sqlc to generate code that presents type-safe interfaces to those queries
- You write application code that calls the methods sqlc generated.
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.