Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,mssql,oracle https://xorm.io
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.
 
 
 
 
Alexandre Viau 495927eb9c copyright: added owner 4 years ago
docs use submodule instead docs 5 years ago
examples bug fixed #280 4 years ago
.gitignore use tabs 6 years ago
.gitmodules use submodule instead docs 5 years ago
.gopmfile renamed import path 5 years ago
CONTRIBUTING.md add code signing tips to CONTRIBUTING.md 5 years ago
LICENSE copyright: added owner 4 years ago
README.md added gitter chatroom 4 years ago
README_CN.md added gitter chatroom 4 years ago
VERSION bug fixed for #283 4 years ago
doc.go license 4 years ago
engine.go Added feature to update with null for non pointer value 4 years ago
error.go license 4 years ago
gen_reserved.sh add gen_reserved.sh 5 years ago
goracle_driver.go license 4 years ago
helpers.go Support float and bool for nullable update 4 years ago
logger.go license 4 years ago
lru_cacher.go license 4 years ago
memory_store.go typo error 4 years ago
mssql_dialect.go Fixed FOR UPDATE for each dialects #290 4 years ago
mymysql_driver.go license 4 years ago
mysql_dialect.go license 4 years ago
mysql_driver.go license 4 years ago
oci8_driver.go license 4 years ago
odbc_driver.go license 4 years ago
oracle_dialect.go dialect interface changed 4 years ago
pg_reserved.txt add gen_reserved.sh 5 years ago
postgres_dialect.go 修改GetColumns函数 4 years ago
pq_driver.go license 4 years ago
processors.go add AfterSet processor support & resolved #276 4 years ago
rows.go Added feature for storing lastSQL query on session 4 years ago
session.go Merge pull request #290 from evalphobia/feature/select-for-update 4 years ago
sqlite3_dialect.go Fixed FOR UPDATE for each dialects #290 4 years ago
sqlite3_driver.go license 4 years ago
statement.go refactored genSelectSql 4 years ago
syslogger.go license 4 years ago
xorm.go bug fixed for #283 4 years ago

README.md

中文

Xorm is a simple and powerful ORM for Go.

Gitter

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.3

    • Json column type support
    • oracle expirement support
    • bug fixed
  • v0.4.2

    • Transaction will auto rollback if not Rollback or Commit be called.
    • Gonic Mapper support
    • bug fixed

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/