Bun
SQL-first object-relational mapper for Go that builds queries on database/sql.
Bun is a Go ORM whose queries stay close to the SQL a developer would write. The project calls it SQL-first, and the README names PostgreSQL, MySQL, MSSQL, SQLite and Oracle as the databases it works with. The Go module is installed with go get, and the guide is the documentation the README links.
Worth knowing
Oracle needs a separate driver module, which the README’s driver table names, so an Oracle connection adds that module next to the ORM.
Sources
- 2026-11-04: links
bun.uptrace.dev/ - 2026-11-04: links, Written in, License, GitHub stars
api.github.com/repos/uptrace/bun - 2026-11-04: links
bun.uptrace.dev/guide/ - 2026-11-04: Categories, Runtime, Databases, Install with
github.com/uptrace/bun/blob/master/README.md - 2026-11-04: License model, Maintainer
raw.githubusercontent.com/uptrace/bun/master/LICENSE - 2026-11-04: First release
proxy.golang.org/github.com/uptrace/bun/@v/v0.1.0.info - 2026-11-04: Current major version, Last release
api.github.com/repos/uptrace/bun/releases - 2026-11-04: Contributors
api.github.com/repos/uptrace/bun/contributors