You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.0 KiB

Xorm is a simple and powerful ORM for Go.


  • Struct <-> Table Mapping Support
  • Transaction Support
  • Both ORM and raw SQL operation Support
  • Chainable APIs
  • Support ID, In, Where, Limit, Join, OrderBy, GroupBy, Having, Table, SQL, Cols
  • Simple cascade loading support
  • Support database schema(Postgres only)
  • Sync database schemas support
  • Query Cache speed up
  • Database reverse support, See
  • Optimistic Locking support
  • Support SQL Builder via
  • Context Cache support
  • Support context logger interface

Drivers Support

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


go get



Please visit Xorm on Google Groups


If you want to pull request, please see CONTRIBUTING


BSD License