dcreager.net

sqlc: compile SQL queries, no ORM!

sqlc is a framework that makes it easier to access a database from an application without being an ORM. In particular, you don't have a “fluent” query API in your programming language that (hopefully) covers all of SQL’s capabilities. Instead, you just write SQL queries. sqlc compiles those into native functions/methods to perform the queries and retrieve the results.

Homepage [sqlc.dev]

Documentation

Some Go web dev notes [jvns.ca]

How We Went All In on sqlc/pgx for Postgres + Go [brandur.org]

Sqlc: 2024 check in [brandur.org]

» Databases

» Languages » Go