update README
This commit is contained in:
parent
bd20c37bfb
commit
e98616d656
14
README.md
14
README.md
|
@ -30,6 +30,8 @@ Xorm is a simple and powerful ORM for Go.
|
||||||
|
|
||||||
* Automatical Read/Write seperatelly
|
* Automatical Read/Write seperatelly
|
||||||
|
|
||||||
|
* Postgres schema support
|
||||||
|
|
||||||
# Drivers Support
|
# Drivers Support
|
||||||
|
|
||||||
Drivers for Go's sql package which currently support database/sql includes:
|
Drivers for Go's sql package which currently support database/sql includes:
|
||||||
|
@ -50,6 +52,13 @@ Drivers for Go's sql package which currently support database/sql includes:
|
||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
* **v0.6.5**
|
||||||
|
* Postgres schema support
|
||||||
|
* vgo support
|
||||||
|
* Add FindAndCount
|
||||||
|
* Database special params support via NewEngineWithParams
|
||||||
|
* Some bugs fixed
|
||||||
|
|
||||||
* **v0.6.4**
|
* **v0.6.4**
|
||||||
* Automatical Read/Write seperatelly
|
* Automatical Read/Write seperatelly
|
||||||
* Query/QueryString/QueryInterface and action with Where/And
|
* Query/QueryString/QueryInterface and action with Where/And
|
||||||
|
@ -65,11 +74,6 @@ Drivers for Go's sql package which currently support database/sql includes:
|
||||||
* fix time related bugs.
|
* fix time related bugs.
|
||||||
* fix some other bugs.
|
* fix some other bugs.
|
||||||
|
|
||||||
* **v0.6.2**
|
|
||||||
* refactor tag parse methods
|
|
||||||
* add Scan features to Get
|
|
||||||
* add QueryString method
|
|
||||||
|
|
||||||
[More changes ...](https://github.com/go-xorm/manual-en-US/tree/master/chapter-16)
|
[More changes ...](https://github.com/go-xorm/manual-en-US/tree/master/chapter-16)
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
38
README_CN.md
38
README_CN.md
|
@ -22,6 +22,8 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作
|
||||||
|
|
||||||
* 支持级联加载Struct
|
* 支持级联加载Struct
|
||||||
|
|
||||||
|
* Schema支持(仅Postgres)
|
||||||
|
|
||||||
* 支持缓存
|
* 支持缓存
|
||||||
|
|
||||||
* 支持根据数据库自动生成xorm的结构体
|
* 支持根据数据库自动生成xorm的结构体
|
||||||
|
@ -52,31 +54,29 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
|
||||||
|
* **v0.6.5**
|
||||||
|
* 通过 engine.SetSchema 来支持 schema,当前仅支持Postgres
|
||||||
|
* vgo 支持
|
||||||
|
* 新增 `FindAndCount` 函数
|
||||||
|
* 通过 `NewEngineWithParams` 支持数据库特别参数
|
||||||
|
* 修正部分Bug
|
||||||
|
|
||||||
|
* **v0.6.4**
|
||||||
|
* 自动读写分离支持
|
||||||
|
* Query/QueryString/QueryInterface 支持与 Where/And 合用
|
||||||
|
* `Get` 支持获取非结构体变量
|
||||||
|
* `Iterate` 支持 `BufferSize`
|
||||||
|
* 修正部分Bug
|
||||||
|
|
||||||
* **v0.6.3**
|
* **v0.6.3**
|
||||||
* 合并单元测试到主工程
|
* 合并单元测试到主工程
|
||||||
* 新增`Exist`方法
|
* 新增 `Exist` 方法
|
||||||
* 新增`SumInt`方法
|
* 新增 `SumInt` 方法
|
||||||
* Mysql新增读取和创建字段注释支持
|
* Mysql新增读取和创建字段注释支持
|
||||||
* 新增`SetConnMaxLifetime`方法
|
* 新增 `SetConnMaxLifetime` 方法
|
||||||
* 修正了时间相关的Bug
|
* 修正了时间相关的Bug
|
||||||
* 修复了一些其它Bug
|
* 修复了一些其它Bug
|
||||||
|
|
||||||
* **v0.6.2**
|
|
||||||
* 重构Tag解析方式
|
|
||||||
* Get方法新增类似Scan的特性
|
|
||||||
* 新增 QueryString 方法
|
|
||||||
|
|
||||||
* **v0.6.0**
|
|
||||||
* 去除对 ql 的支持
|
|
||||||
* 新增条件查询分析器 [github.com/go-xorm/builder](https://github.com/go-xorm/builder), 从因此 `Where, And, Or` 函数
|
|
||||||
将可以用 `builder.Cond` 作为条件组合
|
|
||||||
* 新增 Sum, SumInt, SumInt64 和 NotIn 函数
|
|
||||||
* Bug修正
|
|
||||||
|
|
||||||
* **v0.5.0**
|
|
||||||
* logging接口进行不兼容改变
|
|
||||||
* Bug修正
|
|
||||||
|
|
||||||
[更多更新日志...](https://github.com/go-xorm/manual-zh-CN/tree/master/chapter-16)
|
[更多更新日志...](https://github.com/go-xorm/manual-zh-CN/tree/master/chapter-16)
|
||||||
|
|
||||||
## 安装
|
## 安装
|
||||||
|
|
Loading…
Reference in New Issue