Skip to content

Latest commit

 

History

History
118 lines (63 loc) · 3.41 KB

README.md

File metadata and controls

118 lines (63 loc) · 3.41 KB

中文

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.1 Features:

    • Add deleted xorm tag for soft delete and add unscoped
  • v0.4.0 RC1 Changes:

    Improvements:

    • Prepared statement cache
    • Add Incr API
    • Specify Timezone Location

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/