From 26ce60b972cc6389f55ec46fc063c3ed44af3e7f Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 16 Jun 2013 11:34:13 +0800 Subject: [PATCH] v0.1.5 Added multi threads support; added Sql() function for struct query; Get function changed return inteface; MakeSession and Create are instead with NewSession and NewEngin. --- README.md | 7 +++---- README_CN.md | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c018fb5e..9a302dd6 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,7 @@ [中文](https://github.com/lunny/xorm/blob/master/README_CN.md) -xorm is a simple and powerful ORM for Go. It makes dabatabse operating simple. - -It's not entirely ready for product use yet, but it's getting there. +xorm is a simple and powerful ORM for Go. It makes dabatabse operating simple. [![Build Status](https://drone.io/github.com/lunny/xorm/status.png)](https://drone.io/github.com/lunny/xorm/latest) @@ -19,6 +17,7 @@ Drivers for Go's sql package which currently support database/sql includes: ## Changelog +* **v0.1.5** : Added multi threads support; added Sql() function for struct query; Get function changed return inteface; MakeSession and Create are instead with NewSession and NewEngin. * **v0.1.4** : Added simple cascade load support; added more data type supports. * **v0.1.3** : Find function now supports both slice and map; Add Table function for multi tables and temperory tables support * **v0.1.2** : Insert function now supports both struct and slice pointer parameters, batch inserting and auto transaction @@ -35,7 +34,7 @@ Drivers for Go's sql package which currently support database/sql includes: * Simply usage -* Support Id, In, Where, Limit, Join, Having functions and sturct as query conditions +* Support Id, In, Where, Limit, Join, Having, Sql functions and sturct as query conditions * Support simple cascade load just like Hibernate for Java diff --git a/README_CN.md b/README_CN.md index 94489ec8..a1c5e144 100644 --- a/README_CN.md +++ b/README_CN.md @@ -4,8 +4,6 @@ xorm是一个Go语言的ORM库. 通过它可以使数据库操作非常简便。 -目前没有正式的项目来使用此库,如果有,我们将会把它列出来。 - [![Build Status](https://drone.io/github.com/lunny/xorm/status.png)](https://drone.io/github.com/lunny/xorm/latest) ## 驱动支持 @@ -18,6 +16,7 @@ xorm是一个Go语言的ORM库. 通过它可以使数据库操作非常简便。 ## 更新日志 +* **v0.1.5** : 新增对多线程的支持;新增Sql()函数;支持任意sql语句的struct查询;Get函数返回值变动;MakeSession和Create函数被NewSession和NewEngin函数替代; * **v0.1.4** : Get函数和Find函数新增简单的级联载入功能;对更多的数据库类型支持。 * **v0.1.3** : Find函数现在支持传入Slice或者Map,当传入Map时,key为id;新增Table函数以为多表和临时表进行支持。 * **v0.1.2** : Insert函数支持混合struct和slice指针传入,并根据数据库类型自动批量插入,同时自动添加事务 @@ -34,7 +33,7 @@ xorm是一个Go语言的ORM库. 通过它可以使数据库操作非常简便。 * 使用连写来简化调用 -* 支持使用Id, In, Where, Limit, Join, Having, Table等函数和结构体等方式作为条件 +* 支持使用Id, In, Where, Limit, Join, Having, Table, Sql等函数和结构体等方式作为条件 ## 安装