xormplus/xorm
xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4121
- days_rel: n/a
- days_push: 1549
- n_releases_24m: 0
Adoption not part of the score
1555 stars · 220 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
xormplus/xorm is an enhanced fork of the xorm ORM library for Go, adding iBATIS-style SQL map configuration files, dynamic SQL templates, and ActiveRecord-style operations on top of the original xorm feature set. It supports multiple databases (MySQL, PostgreSQL, SQLite, MSSQL, Oracle, TiDB), transactions with nested propagation, caching, and master-slave read/write splitting.
Use cases
- manage database records in Go with struct-to-table mapping
- define SQL statements in XML or JSON config files like iBATIS
- build dynamic SQL with template engines such as pongo2 or jet
- mix raw SQL and ORM operations in one query flow
- set up master-slave read/write splitting for MySQL or PostgreSQL
- export query results as CSV, JSON, XML, XLSX, or YAML
- use optimistic locking with record versioning
When to choose
- you want iBATIS/SqlMap-style externalized SQL configuration in a Go project
- you need dynamic SQL templates alongside a full-featured ORM
- you require nested transactions with Spring-like propagation semantics
- you want query results directly serialized to JSON/XML or exported to multiple formats
When to avoid
- you prefer the actively maintained upstream go-xorm/xorm or xorm.io/xorm
- you need zero third-party dependencies in your ORM
- you want first-class Oracle support (only experimental here)
- you need a library with frequent updates and large community activity
Facets
library · maturity maintenance
orm database database-driver caching serialization databases backend web-development developer-tools go windows cross-platform sql-mapping dynamic-sql ibatis-style activerecord master-slave read-write-splitting sql-templates result-export linux macos
1 source
- readme: https://github.com/xormplus/xorm · fetched 2026-08-28 · f3e95a4bedd8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xormplus/xorm | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem