reform
A better ORM for Go, based on non-empty interfaces and code generation. (by go-reform)
SQLBoiler
Generate a Go ORM tailored to your database schema. (by volatiletech)
Our great sponsors
reform | SQLBoiler | |
---|---|---|
1 | 25 | |
1,252 | 4,923 | |
1.6% | 3.8% | |
4.8 | 8.8 | |
28 days ago | 23 days ago | |
Go | Go | |
MIT License | BSD 3-clause "New" or "Revised" 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.
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.
reform
Posts with mentions or reviews of reform.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-29.
-
[Question] Working with databases/storing data in Go applications.
However, you can use something like this https://github.com/go-reform/reform to help you with, I will call it automating the code writing. But I have always opted to one of the supported drivers and written a queries myself using for example this https://github.com/go-sql-driver/mysql.
SQLBoiler
Posts with mentions or reviews of SQLBoiler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-16.
-
Do you use orm in your go projects?
Came here to mention sqlboiler. It's not a traditional ORM like GORM but it allows you to generate the database "model" code from your schema.
-
GORM is a bad idea?
I used to use https://github.com/volatiletech/sqlboiler, but now I use https://github.com/ent/ent which has in my opinion surpassed it in a very short time by adding a ton of useful features and having a great documentation.
-
Golang backend with lots of raw SQL queries
I used https://github.com/volatiletech/sqlboiler. It's a database-first OEM generator. Comes with CRUD functions and helper with 0 config needed.
- Sqlboiler - Generate a Go ORM tailored to your database schema.
- Looking for some ORM/db access layer suggestions
-
SQL Query Strategy for complex structs
didn’t know jet, any major difference with https://github.com/volatiletech/sqlboiler?
-
A good ORM for Golang?
I'm a maintainer of SQLBoiler (https://github.com/volatiletech/sqlboiler), and it is the best I've used (I've tried a number).
- SQLBoiler v4.8.4: Generate a Go ORM tailored to your database schema
-
Sql generator but for SQLite
Try sqlboiler. https://github.com/volatiletech/sqlboiler
What are some alternatives?
When comparing reform and SQLBoiler you can also consider the following projects:
GORM - The fantastic ORM library for Golang, aims to be developer friendly
ent - An entity framework for Go
sqlc - Generate type-safe code from SQL
sqlx - general purpose extensions to golang's database/sql
go-pg - Golang ORM with focus on PostgreSQL features and performance
upper.io/db - Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
xorm - xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作
Xorm
beego orm
dbmate - :rocket: A lightweight, framework-agnostic database migration tool.