Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,sqlite,mssql,oracle,cockroach https://xorm.io
Go to file
Lunny Xiao 276fc097cb update readme 2015-04-01 21:53:17 +08:00
docs use submodule instead docs 2014-10-25 09:55:09 +08:00
examples bug fixed and improved IsTableExist 2014-05-06 14:59:58 +08:00
.gitignore use tabs 2013-12-18 11:31:32 +08:00
.gitmodules use submodule instead docs 2014-10-25 09:55:09 +08:00
.gopmfile renamed import path 2014-04-11 17:16:43 +08:00
CONTRIBUTING.md add code signing tips to CONTRIBUTING.md 2014-05-12 11:29:29 +08:00
doc.go improved doc.go 2015-02-09 20:10:40 +08:00
engine.go use old drop table interface 2015-03-12 18:03:52 +08:00
error.go use tabs 2013-12-18 11:31:32 +08:00
gen_reserved.sh add gen_reserved.sh 2014-09-22 09:48:17 +08:00
goracle_driver.go flatten the drivers dir 2014-04-14 15:22:01 +08:00
helpers.go Fix to refer invalid memory access on helpers.go 2015-03-06 12:37:05 +00:00
LICENSE license 2014-03-23 17:16:11 +08:00
logger.go move syslogger as condition compile 2014-08-21 11:40:55 +08:00
lru_cacher.go bugfix 2014-08-16 20:11:20 +08:00
memroy_store.go flatten caches dir 2014-04-14 15:32:33 +08:00
mssql_dialect.go resolved #176 & cache bug fixed 2015-04-01 16:32:17 +08:00
mymysql_driver.go flatten the drivers dir 2014-04-14 15:22:01 +08:00
mysql_dialect.go resolved #176 & cache bug fixed 2015-04-01 16:32:17 +08:00
mysql_driver.go flatten the drivers dir 2014-04-14 15:22:01 +08:00
oci8_driver.go flatten the drivers dir 2014-04-14 15:22:01 +08:00
odbc_driver.go flatten the drivers dir 2014-04-14 15:22:01 +08:00
oracle_dialect.go resolved #176 & cache bug fixed 2015-04-01 16:32:17 +08:00
pg_reserved.txt add gen_reserved.sh 2014-09-22 09:48:17 +08:00
postgres_dialect.go cache support all kinds of primary keys 2014-11-08 11:12:37 +08:00
pq_driver.go bug fixed #139 2014-07-08 09:34:56 +08:00
processors.go add BeforeSet processor and Dump function 2014-05-04 13:53:38 +08:00
README_CN.md update readme 2015-04-01 21:53:17 +08:00
README.md update readme 2015-04-01 21:53:17 +08:00
rows.go use DB() instead newDb() 2015-02-25 15:26:52 +08:00
session.go resolved #176 & cache bug fixed 2015-04-01 16:32:17 +08:00
sqlite3_dialect.go resolved #176 & cache bug fixed 2015-04-01 16:32:17 +08:00
sqlite3_driver.go flatten the drivers dir 2014-04-14 15:22:01 +08:00
statement.go resolved #199 2015-03-12 22:26:45 +08:00
syslogger.go fixed build tag 2014-08-21 11:50:23 +08:00
VERSION use DB() instead newDb() 2015-02-25 15:26:52 +08:00
xorm.go resolved #176 & cache bug fixed 2015-04-01 16:32:17 +08:00

中文

Xorm is a simple and powerful ORM for Go.

Build Status Go Walker Bitdeli Badge

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:

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

More changelogs ...

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/