add features on README

This commit is contained in:
Lunny Xiao 2013-05-09 10:48:30 +08:00
parent 545df1a7a7
commit 431ac7b5d2
2 changed files with 22 additions and 4 deletions

View File

@ -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.
@ -13,7 +12,17 @@ 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)
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

View File

@ -1,6 +1,5 @@
# xorm
----------
[English](README.md)
xorm是一个Go语言的ORM库. 通过它可以简化对数据库的操作。
@ -13,7 +12,17 @@ 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)
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
## 特性
1.支持Struct和数据库表之间的映射映射方式支持命名约定和Tag两种方式
2.事务支持
3.同时支持原始SQL语句的混合执行
4.使用连写来简化调用
5.支持使用IdWhere和结构体等方式作为条件
## 安装