Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,sqlite,mssql,oracle,cockroach
Go to file
Lunny Xiao f7e6db28c0 Merge branch 'master' of github.com:go-xorm/xorm 2015-11-24 14:27:41 +08:00
docs use submodule instead docs 2014-10-25 09:55:09 +08:00
examples bug fixed #280 2015-08-12 22:02:27 +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
LICENSE copyright: added owner 2015-09-06 23:43:06 -04:00
README.md improved readme 2015-09-24 22:49:14 +08:00
README_CN.md improved readme 2015-09-24 22:49:14 +08:00
VERSION bug fixed for dump 2015-11-24 14:25:06 +08:00
doc.go license 2015-04-28 16:25:04 +08:00
engine.go bug fixed for dump 2015-11-24 14:25:06 +08:00
error.go license 2015-04-28 16:25:04 +08:00
gen_reserved.sh add gen_reserved.sh 2014-09-22 09:48:17 +08:00
goracle_driver.go license 2015-04-28 16:25:04 +08:00
helpers.go Modified time.IsZero() to use interface 2015-11-17 16:19:23 +09:00
logger.go license 2015-04-28 16:25:04 +08:00
lru_cacher.go license 2015-04-28 16:25:04 +08:00
memory_store.go typo error 2015-08-31 17:10:16 +08:00
mssql_dialect.go Fixed FOR UPDATE for each dialects #290 2015-08-30 20:07:18 +09:00
mymysql_driver.go license 2015-04-28 16:25:04 +08:00
mysql_dialect.go license 2015-04-28 16:25:04 +08:00
mysql_driver.go license 2015-04-28 16:25:04 +08:00
oci8_driver.go license 2015-04-28 16:25:04 +08:00
odbc_driver.go license 2015-04-28 16:25:04 +08:00
oracle_dialect.go dialect interface changed 2015-05-19 22:39:50 +08:00
pg_reserved.txt add gen_reserved.sh 2014-09-22 09:48:17 +08:00
postgres_dialect.go 修改GetColumns函数 2015-08-25 22:37:16 +08:00
pq_driver.go license 2015-04-28 16:25:04 +08:00
processors.go add AfterSet processor support & resolved #276 2015-08-06 14:24:17 +08:00
rows.go Added feature for storing lastSQL query on session 2015-07-28 13:03:20 +09:00
session.go bug fixed: resolved #288 2015-10-26 17:01:46 +08:00
sqlite3_dialect.go Fixed FOR UPDATE for each dialects #290 2015-08-30 20:07:18 +09:00
sqlite3_driver.go license 2015-04-28 16:25:04 +08:00
statement.go bug fixed for update which includes json struct fields 2015-10-29 13:30:22 +08:00
syslogger.go license 2015-04-28 16:25:04 +08:00
xorm.go bug fixed for dump 2015-11-24 14:25:06 +08:00

README.md

中文

Xorm is a simple and powerful ORM for Go.

Gitter

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.4

    • ql database expriment support
    • tidb database expriment support
    • sql.NullString and etc. field support
    • select ForUpdate support
    • many bugs fixed
  • 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/