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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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