GORM VS bun

Compare GORM vs bun and see what are their differences.

GORM

The fantastic ORM library for Golang, aims to be developer friendly (by go-gorm)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
GORM bun
81 18
37,092 3,848
0.7% 3.5%
8.2 9.1
13 days ago 5 days ago
Go Go
MIT License BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

GORM

Posts with mentions or reviews of GORM. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-06.
  • How to use migrations with Golang
    5 projects | dev.to | 6 Nov 2024
    Go doesn't support migrations natively for that propuso we can use the popular golang-migrate package also if you use an ORM like GORM you can use it for that.
  • Toasty, an Async ORM for Rust
    6 projects | news.ycombinator.com | 23 Oct 2024
    I never understood why people are so stubborn about hating on orm.

    For example I'm familiar with https://gorm.io and it does save me a lot of time and useless boilerplate.

    And guess what, if I ever need to make a complex query, I also happen to know SQL, and I'm just going to make a "raw" query https://gorm.io/docs/sql_builder.html#Raw-SQL and be done with it.

    It's not all that hard.

  • Building a RESTful API with Go Fiber: An Express-Inspired Boilerplate
    13 projects | dev.to | 5 Oct 2024
    SQL database: PostgreSQL Object Relation Mapping using Gorm
  • Store IoT device data
    2 projects | dev.to | 26 Sep 2024
    The previous post demonstrated receiving the raw data and unmarshalling it into a struct that was already annotated with gorm tags. Gorm is a popular ORM for Go. If you are not familiar with it, you can for more information here.
  • GORM, PostgreSQL & Atlas
    4 projects | dev.to | 12 Aug 2024
    GORM is a, quite conveniently named, ORM for GO
  • Scaling Backend to 1M requests with just 2GB ram ⚡️
    2 projects | dev.to | 14 Jun 2024
    Written in GIN framework and uses GORM as ORM.
  • How to handle migrations in Golang
    5 projects | dev.to | 11 Jun 2024
    There are ORMs like gorm that supports some kind of documentation with files, but they mainly focus on converting the database to "things" in the code to be used by the ORM, and not as documentation only/documentation-first.
  • Go ORMs Compared
    5 projects | dev.to | 18 Jan 2024
    GORM is a comprehensive ORM tool in Go, offering a code-first approach which allows defining database schemas using struct tags in Go. It's known for its developer-friendly nature, making it suitable for both beginners and experienced users. GORM supports a variety of SQL databases like MySQL, PostgreSQL, and SQLite. It's designed to be flexible, allowing developers to drop down to raw SQL when necessary. However, it's important to be cautious about its performance implications in large-scale applications.
  • 6 🔥 Awesome Golang packages (web devs)
    6 projects | dev.to | 4 Dec 2023
    Homepage: https://gorm.io/
  • Tenha controle sobre seu SQL com Golang e SQLC
    3 projects | dev.to | 25 Nov 2023

bun

Posts with mentions or reviews of bun. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-17.

What are some alternatives?

When comparing GORM and bun you can also consider the following projects:

ent - An entity framework for Go

Xorm

go-pg - Golang ORM with focus on PostgreSQL features and performance

SQLBoiler - Generate a Go ORM tailored to your database schema.

sqlc - Generate type-safe code from SQL

pgx - PostgreSQL driver and toolkit for Go

prisma-client-go - Prisma Client Go is an auto-generated and fully type-safe database client

Squirrel - Fluent SQL generation for golang

beego orm

go-sqlite - Low-level Go interface to SQLite 3

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you konow that Go is
the 4th most popular programming language
based on number of metions?