sqlc generates type-safe code from SQL. Here's how it works. You write queries in SQL. You run sqlc to generate code with type-safe interfaces to those queries. You write application code that calls the generated code. 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. sqlc needs to know your database schema and queries in order to generate code.

Features

  • sqlc is distributed as a single binary with zero dependencies
  • Get pre-built binaries for v1.16.0
  • Write queries in SQL
  • Run sqlc to generate code with type-safe interfaces to queries
  • Write application code that calls the generated code
  • sqlc was inspired by PugSQL and HugSQL

Project Samples

Project Activity

See All Activity >

Categories

Database, Frameworks

License

MIT License

Follow sqlc

sqlc Web Site

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Access competitive interest rates on your digital assets.

Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sqlc!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Database Software, Go Frameworks

Registered

2023-01-06