Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,sqlite,mssql,oracle,cockroach
https://xorm.io
Lunny Xiao
4012ee5805
copyright: add owner |
||
---|---|---|
docs | ||
examples | ||
.gitignore | ||
.gitmodules | ||
.gopmfile | ||
CONTRIBUTING.md | ||
doc.go | ||
engine.go | ||
error.go | ||
gen_reserved.sh | ||
goracle_driver.go | ||
helpers.go | ||
LICENSE | ||
logger.go | ||
lru_cacher.go | ||
memory_store.go | ||
mssql_dialect.go | ||
mymysql_driver.go | ||
mysql_dialect.go | ||
mysql_driver.go | ||
oci8_driver.go | ||
odbc_driver.go | ||
oracle_dialect.go | ||
pg_reserved.txt | ||
postgres_dialect.go | ||
pq_driver.go | ||
processors.go | ||
README_CN.md | ||
README.md | ||
rows.go | ||
session.go | ||
sqlite3_dialect.go | ||
sqlite3_driver.go | ||
statement.go | ||
syslogger.go | ||
VERSION | ||
xorm.go |
Xorm is a simple and powerful ORM for Go.
Features
-
Struct <-> Table Mapping Support
-
Chainable APIs
-
Transaction Support
-
Both ORM and raw SQL operation Support
-
Sync database schema Support
-
Query Cache speed up
-
Database Reverse support, See Xorm Tool README
-
Simple cascade loading support
-
Optimistic Locking support
Drivers Support
Drivers for Go's sql package which currently support database/sql includes:
-
MyMysql: github.com/ziutek/mymysql/godrv
-
SQLite: github.com/mattn/go-sqlite3
-
Postgres: github.com/lib/pq
-
MsSql: github.com/lunny/godbc
-
Oracle: github.com/mattn/go-oci8 (experiment)
Changelog
-
v0.4.3
- Json column type support
- oracle expirement support
- bug fixed
-
v0.4.2
- Transaction will auto rollback if not Rollback or Commit be called.
- Gonic Mapper support
- bug fixed
Installation
If you have gopm installed,
gopm get github.com/go-xorm/xorm
Or
go get github.com/go-xorm/xorm
Documents
Cases
Discuss
Please visit Xorm on Google Groups
Contributing
If you want to pull request, please see CONTRIBUTING
LICENSE
BSD License http://creativecommons.org/licenses/BSD/