Bun: SQL-first Golang ORM



SQL-first

Bun is a SQL-first Golang ORM for PostgreSQL, MySQL/MariaDB, MSSQL, and SQLite.

SQL-first means you can write SQL queries in Go, for example, the following Bun query:

var num int

err := db.NewSelect().

TableExpr("generate_series(1, 3)")...



Read: https://uptrace.hashnode.dev/bun-sql-first-golang-orm