From be50e0c6598b76ad1a5441a59fbf6e1c83df4c44 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 6 Nov 2013 15:54:42 +0800 Subject: [PATCH] improved docs --- README.md | 3 +-- README_CN.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f8ef7094..2bc3aa13 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ Drivers for Go's sql package which currently support database/sql includes: ## Changelog +* **v0.2.2** : Postgres drivers now support lib/pq; Added method Iterate for record by record to handler;Added SetMaxConns(go1.2+) support; some bugs fixed. * **v0.2.1** : Added database reverse tool, now support generate go & c++ codes, see [Xorm Tool README](https://github.com/lunny/xorm/blob/master/xorm/README.md); some bug fixed. * **v0.2.0** : Added Cache supported, select is speeder up 3~5x; Added SameMapper for same name between struct and table; Added Sync method for auto added tables, columns, indexes; * **v0.1.9** : Added postgres and mymysql supported; Added ` and ? supported on Raw SQL even if postgres; Added Cols, StoreEngine, Charset function, Added many column data type supported, please see [Mapping Rules](#mapping). @@ -53,8 +54,6 @@ Drivers for Go's sql package which currently support database/sql includes: * Support Id, In, Where, Limit, Join, Having, Sql functions and sturct as query conditions * Cache Support - -* Reverse Tool Support * Simple cascade load support diff --git a/README_CN.md b/README_CN.md index 59975d6b..1eb7ac8e 100644 --- a/README_CN.md +++ b/README_CN.md @@ -25,7 +25,7 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作 * Postgres: [github.com/bylevel/pq](https://github.com/bylevel/pq) ## 更新日志 - +* **v0.2.2** : Postgres驱动新增了对lib/pq的支持;新增了逐条遍历方法Iterate;新增了SetMaxConns(go1.2+)支持,修复了bug若干; * **v0.2.1** : 新增数据库反转工具,当前支持go和c++代码的生成,详见 [Xorm Tool README](https://github.com/lunny/xorm/blob/master/xorm/README.md); 修复了一些bug. * **v0.2.0** : 新增 [缓存](https://github.com/lunny/xorm/blob/master/docs/QuickStart.md#120)支持,查询速度提升3-5倍; 新增数据库表和Struct同名的映射方式; 新增Sync同步表结构; * **v0.1.9** : 新增 postgres 和 mymysql 驱动支持; 在Postgres中支持原始SQL语句中使用 ` 和 ? 符号; 新增Cols, StoreEngine, Charset 函数;SQL语句打印支持io.Writer接口,默认打印到控制台;新增更多的字段类型支持,详见 [映射规则](https://github.com/lunny/xorm/blob/master/docs/QuickStart.md#21);删除废弃的MakeSession和Create函数。 @@ -57,7 +57,6 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作 * 支持根据数据库自动生成xorm的结构体 - ## 安装