2.0 KiB
2.0 KiB
Xorm is a simple and powerful ORM for Go.
Features
- 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 xorm.io/reverse
- Optimistic Locking support
- Support SQL Builder via xorm.io/builder
- Context Cache support
- Support context logger interface
Drivers Support
Drivers for Go's sql package which currently support database/sql includes:
-
MsSql
-
Oracle
- github.com/mattn/go-oci8 (experiment)
Installation
go get xorm.io/xorm
Documents
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/