Home Page |


本站和网页 https://gobook.io/read/gitea.com/xorm/manual-en-US/ 的作者无关,不对其内容负责。快照谨为网络故障时之索引,不代表被搜索网站的即时页面。

Home Page |
return homepage
Create ORM Engine
Engine
Engine Group
Group Policy
Define a struct
Name mapping rule
Prefix & Suffix Names
Use Table or Tag to change table or column name
Column define
Database schema operation
Retrieve database schema infomation
Table Operation
Create indexes and uniques
Sync database schema
Insert records
Created
Query and Count records
Query condition methods
Temporary methods
Get
Find
Join
Iterate
Count
Rows
Sum
Update records
Optimistic Locking
Updated
Delete records
Deleted
Execute SQL command
Execute SQL query
Transaction
Cache
Events
Reverse Tool
FAQ
Cases
GoBook published
Serif
Sans
White
Sepia
Night
Home Page
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&rsquo;s sql package which currently support database/sql includes:
Mysql5.* / Mysql8.* / Mariadb / Tidb
github.com/go-sql-driver/mysql
github.com/ziutek/mymysql/godrv
Postgres / Cockroach
github.com/lib/pq
SQLite
github.com/mattn/go-sqlite3
MsSql
github.com/denisenkom/go-mssqldb
Oracle
github.com/mattn/go-oci8 (experiment)
Installation
go get xorm.io/xorm
Documents
Manual
GoDoc
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/