From 431ac7b5d22466a8fb67e7ec0cbbc9c13a214c64 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 9 May 2013 10:48:30 +0800 Subject: [PATCH] add features on README --- README.md | 13 +++++++++++-- README_CN.md | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 20abdd97..1065b6de 100644 --- a/README.md +++ b/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. @@ -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 diff --git a/README_CN.md b/README_CN.md index 9bf3f91c..251a1c82 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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.支持使用Id,Where和结构体等方式作为条件 ## 安装