💾 Archived View for dcreager.net › databases › sqlc.gmi captured on 2024-09-29 at 00:11:40. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
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.
Some Go web dev notes [jvns.ca]
How We Went All In on sqlc/pgx for Postgres + Go [brandur.org]