Simple and performant ORM for sql.DB

Get Started Introduction

SQL First

Bun's goal is to help you write SQL, not to hide it behind awkward constructs.


Keep your database updated with Go and SQL-based migrations.


Provide initial data for your application with YAML fixtures.

Convert any SELECT query to Bun's SelectQuery

With the help of Uptrace, you can convert the provided SELECT query to the equivalent bun.SelectQuery expression.