add features on README
This commit is contained in:
parent
545df1a7a7
commit
431ac7b5d2
11
README.md
11
README.md
|
@ -1,6 +1,5 @@
|
|||
# xorm
|
||||
----------
|
||||
|
||||
[中文](./README_CN.md)
|
||||
|
||||
xorm is an ORM for Go. It lets you map Go structs to tables in a database.
|
||||
|
@ -14,6 +13,16 @@ Drivers for Go's sql package which support database/sql includes:
|
|||
Mysql: [github.com/Go-SQL-Driver/MySQL](https://github.com/Go-SQL-Driver/MySQL)
|
||||
|
||||
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
||||
## Features
|
||||
1.Struct<->Table Mapping Support Names and Tags
|
||||
|
||||
2.Transaction Support
|
||||
|
||||
3.SQL Execute Support
|
||||
|
||||
4.Simple usage
|
||||
|
||||
5.Support Id, Where or Sturct as query conditions
|
||||
|
||||
## Installing xorm
|
||||
|
||||
|
|
11
README_CN.md
11
README_CN.md
|
@ -1,6 +1,5 @@
|
|||
# xorm
|
||||
----------
|
||||
|
||||
[English](README.md)
|
||||
|
||||
xorm是一个Go语言的ORM库. 通过它可以简化对数据库的操作。
|
||||
|
@ -14,6 +13,16 @@ xorm是一个Go语言的ORM库. 通过它可以简化对数据库的操作。
|
|||
Mysql: [github.com/Go-SQL-Driver/MySQL](https://github.com/Go-SQL-Driver/MySQL)
|
||||
|
||||
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
||||
## 特性
|
||||
1.支持Struct和数据库表之间的映射,映射方式支持命名约定和Tag两种方式
|
||||
|
||||
2.事务支持
|
||||
|
||||
3.同时支持原始SQL语句的混合执行
|
||||
|
||||
4.使用连写来简化调用
|
||||
|
||||
5.支持使用Id,Where和结构体等方式作为条件
|
||||
|
||||
## 安装
|
||||
|
||||
|
|
Loading…
Reference in New Issue