Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,sqlite,mssql,oracle,cockroach
Go to file
Lunny Xiao afedb683c6 time parse improved 2013-11-27 21:58:44 +08:00
docs add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00
examples fixed bool bug; added cache expired 2013-11-17 00:52:43 +08:00
xorm improved sync indexes, now check columns;xorm tool bug fiexed 2013-10-28 11:16:22 +08:00
.gitignore fixed delete bug #12 2013-11-21 01:26:07 +08:00
.gopmfile Add And and Or method for query condition 2013-11-09 21:13:16 +08:00
README.md improved docs 2013-11-26 11:27:29 +08:00
README_CN.md improved docs 2013-11-26 11:27:29 +08:00
VERSION improved docs 2013-11-26 10:41:02 +08:00
base_test.go add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00
benchmark_base_test.go Added support for Find(*[]*Struct); added notnull; 2013-10-05 00:44:43 +08:00
cache.go improved docs & resolved # 2013-11-22 14:11:07 +08:00
doc.go improved docs 2013-11-26 10:41:02 +08:00
engine.go add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00
error.go added xorm reverse tool 2013-10-12 23:16:51 +08:00
filter.go improved docs & resolved # 2013-11-22 14:11:07 +08:00
helpers.go improved docs & resolved # 2013-11-22 14:11:07 +08:00
mapper.go add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00
mymysql.go added xorm reverse tool 2013-10-12 23:16:51 +08:00
mymysql_test.go fixed bool bug; added cache expired 2013-11-17 00:52:43 +08:00
mysql.go improved sync indexes, now check columns;xorm tool bug fiexed 2013-10-28 11:16:22 +08:00
mysql_test.go fixed bool bug; added cache expired 2013-11-17 00:52:43 +08:00
pool.go added type and sequence for xorm tool;added max connect for pool(go1.2+) 2013-10-27 09:10:20 +08:00
postgres.go improved docs & resolved # 2013-11-22 14:11:07 +08:00
postgres_test.go fixed bool bug; added cache expired 2013-11-17 00:52:43 +08:00
session.go time parse improved 2013-11-27 21:58:44 +08:00
sqlite3.go added type and sequence for xorm tool;added max connect for pool(go1.2+) 2013-10-27 09:10:20 +08:00
sqlite3_test.go fixed sqlite3 bug 2013-11-27 17:14:57 +08:00
statement.go add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00
table.go add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00
xorm.go add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00

README.md

中文

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 sechmea Support

  • Query Cache speed up

  • Database Reverse support, See Xorm Tool README

  • Simple cascade loading support

Drivers Support

Drivers for Go's sql package which currently support database/sql includes:

Changelog

  • v0.2.2 : Postgres drivers now support lib/pq; Added method Iterate for record by record to handlerAdded SetMaxConns(go1.2+) support; some bugs fixed.
  • v0.2.1 : Added database reverse tool, now support generate go & c++ codes, see Xorm Tool README; some bug fixed.
  • v0.2.0 : Added Cache supported, select is speeder up 3~5x; Added SameMapper for same name between struct and table; Added Sync method for auto added tables, columns, indexes;

More changelogs ...

Installation

go get github.com/lunny/xorm

Documents

Cases

Discuss

Please visit Xorm on Google Groups

LICENSE

BSD License http://creativecommons.org/licenses/BSD/