Description
Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API
Features:
- Testable repository with builtin reltest package
- Elegant, yet extendable query builder with mix of syntactic sugar
- Feature rich (Eager loading, nested transaction, schema migration and more)
REL alternatives and similar packages
Based on the "ORM" category.
Alternatively, view REL alternatives based on common mentions on social networks and blogs.
-
upper.io/db
Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features. -
xorm
xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作 -
go-queryset
100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood. -
golobby/orm
A lightweight yet powerful, fast, customizable, type-safe object-relational mapper for the Go programming language. -
lore
Light Object-Relational Environment (LORE) provides a simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go
SaaSHub - Software Alternatives and Reviews
Do you think we are missing an alternative of REL or a related project?
Popular Comparisons
README
REL
Modern Database Access Layer for Golang.
REL is golang orm-ish database layer for layered architecture. It's testable and comes with its own test library. REL also features extendable query builder that allows you to write query using builder or plain sql.
Features
- Testable repository with builtin reltest package.
- Seamless nested transactions.
- Elegant, yet extendable query builder with mix of syntactic sugar.
- Supports Eager loading.
- Composite Primary Key.
- Multi adapter.
- Soft Deletion.
- Pagination.
- Schema Migration.
Install
go get github.com/go-rel/rel
Getting Started
- Guides https://go-rel.github.io
Examples
- gin-example - Todo Backend using Gin and REL
- go-todo-backend - Todo Backend using Chi and REL
- iris-example - Todo Backend using Iris and REL
License
Released under the MIT License
*Note that all licence references and agreements mentioned in the REL README section above
are relevant to that project's source code only.