# Bun

SQL-first object-relational mapper for Go that builds queries on database/sql.


Source: https://findsoftware.frbit.cloud/bun-orm/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- home: https://bun.uptrace.dev
- repository: https://github.com/uptrace/bun
- docs: https://bun.uptrace.dev/guide/
- discord: https://discord.gg/rWtp5Aj
- forum: https://github.com/uptrace/bun/discussions

### Identity

- status: active
- maintainer: Vladimir Mihailenco
- maintainerType: unknown
- parent: unknown
- firstRelease: 2021
- hqCountry: unknown

### Kind

- category: library
- hosting: binary
- language: go
- runtime: binary
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: postgres, mysql, sqlserver, sqlite, oracle
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: go get github.com/uptrace/bun

### License

- licenseModel: open-source
- license: BSD-2-Clause

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-10-03

### Adoption

- githubStargazers: 5004
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 132
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://bun.uptrace.dev/ (read 2026-11-04)
- urls: https://api.github.com/repos/uptrace/bun (read 2026-11-04)
- urls: https://bun.uptrace.dev/guide/ (read 2026-11-04)
- category: https://github.com/uptrace/bun/blob/master/README.md (read 2026-11-04)
- language: https://api.github.com/repos/uptrace/bun (read 2026-11-04)
- runtime: https://github.com/uptrace/bun/blob/master/README.md (read 2026-11-04)
- databases: https://github.com/uptrace/bun/blob/master/README.md (read 2026-11-04)
- installMethod: https://github.com/uptrace/bun/blob/master/README.md (read 2026-11-04)
- license: https://api.github.com/repos/uptrace/bun (read 2026-11-04)
- licenseModel: https://raw.githubusercontent.com/uptrace/bun/master/LICENSE (read 2026-11-04)
- maintainer: https://raw.githubusercontent.com/uptrace/bun/master/LICENSE (read 2026-11-04)
- firstRelease: https://proxy.golang.org/github.com/uptrace/bun/@v/v0.1.0.info (read 2026-11-04)
- currentMajor: https://api.github.com/repos/uptrace/bun/releases (read 2026-11-04)
- latestReleaseDate: https://api.github.com/repos/uptrace/bun/releases (read 2026-11-04)
- githubStargazers: https://api.github.com/repos/uptrace/bun (read 2026-11-04)
- contributors: https://api.github.com/repos/uptrace/bun/contributors (read 2026-11-04)

## Notes

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](https://bun.uptrace.dev/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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
