Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,sqlite,mssql,oracle,cockroach https://xorm.io
Go to file
2014-04-16 10:51:18 +08:00
docs update xorm 0.3.2 changelog 2014-04-16 10:51:18 +08:00
examples bug fixed 2013-12-12 14:33:26 +08:00
tests implemented ddl import 2013-12-04 18:39:22 +08:00
xorm update tests 2014-03-14 15:05:58 +08:00
.gitignore Init commit 2014-03-19 16:55:50 +08:00
.gopmfile Add And and Or method for query condition 2013-11-09 21:13:16 +08:00
base_test.go resolved #89: if struct has func, the struct's name is the result 2014-04-08 16:46:23 +08:00
benchmark_base_test.go use tabs 2013-12-18 11:31:32 +08:00
benchmark.bat docs improved 2013-12-31 13:02:35 +08:00
benchmark.sh add benchmark tests 2013-12-16 23:42:31 +08:00
cache.go use tabs 2013-12-18 11:31:32 +08:00
CONTRIBUTING.md Update CONTRIBUTING.md 2014-02-12 11:29:27 +08:00
doc.go improved docs 2013-12-31 13:51:55 +08:00
engine.go update 2014-04-15 23:27:08 +08:00
error.go use tabs 2013-12-18 11:31:32 +08:00
filter.go add support to int32, int, uint, uint32, uint64 for pk 2013-12-24 18:18:48 +08:00
helpers.go resolved #89: if struct has func, the struct's name is the result 2014-04-08 16:46:23 +08:00
LICENSE license 2014-03-23 17:16:11 +08:00
mapper.go add cachemapper 2014-02-10 11:26:08 +08:00
mssql_test.go add benchmark tests for mssql 2013-12-26 18:23:40 +08:00
mssql.go bug fixed 2014-04-05 22:14:00 +08:00
mymysql_test.go use tabs 2013-12-18 11:31:32 +08:00
mymysql.go use tabs 2013-12-18 11:31:32 +08:00
mysql_test.go bug fixed 2014-01-08 22:47:30 +08:00
mysql.go bug fixed 2014-04-05 22:14:00 +08:00
oracle.go 一、xorm反转工具bug修复: 2014-01-30 13:10:15 +08:00
pool.go use tabs 2013-12-18 11:31:32 +08:00
postgres_test.go bug fixed 2013-12-25 17:41:01 +08:00
postgres.go 一、xorm反转工具bug修复: 2014-01-30 13:10:15 +08:00
processors.go use tabs 2013-12-18 11:31:32 +08:00
README_CN.md update xorm 0.3.2 changelog 2014-04-16 10:51:18 +08:00
README.md update xorm 0.3.2 changelog 2014-04-16 10:51:18 +08:00
rows.go add Session.row2Bean 2013-12-27 02:14:30 +08:00
session.go update 2014-04-15 23:27:08 +08:00
sqlite3_test.go use tabs 2013-12-18 11:31:32 +08:00
sqlite3.go add support to int32, int, uint, uint32, uint64 for pk 2013-12-24 18:18:48 +08:00
statement.go update 2014-04-15 23:27:08 +08:00
table.go update 2014-04-15 23:27:08 +08:00
VERSION pump xorm version 0.3.2 2014-04-14 22:15:01 +08:00
xorm.go update 2014-04-15 23:27:08 +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.3.2 Improvements:

    • Add AllCols & MustCols function
    • Add TableName for custom table name

    Bug Fixes:

    • #46
    • #51
    • #53
    • #89
    • #86
    • #92
  • v0.3.1

    Features:

    • Support MSSQL DB via ODBC driver (github.com/lunny/godbc);
    • Composite Key, using multiple pk xorm tag
    • Added Row() API as alternative to Iterate() API for traversing result set, provide similar usages to sql.Rows type
    • ORM struct allowed declaration of pointer builtin type as members to allow null DB fields
    • Before and After Event processors

    Improvements:

    • Allowed int/int32/int64/uint/uint32/uint64/string as Primary Key type
    • Performance improvement for Get()/Find()/Iterate()

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

Contributors

If you want to pull request, please see CONTRIBUTING

LICENSE

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