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
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
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