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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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