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
Run applications fast and securely in a fully managed environment Icon
Run applications fast and securely in a fully managed environment

Cloud Run is a fully-managed compute platform that lets you run your code in a container directly on top of scalable infrastructure.

Run frontend and backend services, batch jobs, deploy websites and applications, and queue processing workloads without the need to manage infrastructure.
Try for 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