update README

This commit is contained in:
Lunny Xiao 2018-04-10 10:18:32 +08:00
parent bd20c37bfb
commit e98616d656
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
3 changed files with 29 additions and 25 deletions

View File

@ -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

View File

@ -22,6 +22,8 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作
* 支持级联加载Struct * 支持级联加载Struct
* Schema支持仅Postgres
* 支持缓存 * 支持缓存
* 支持根据数据库自动生成xorm的结构体 * 支持根据数据库自动生成xorm的结构体
@ -52,6 +54,20 @@ 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` 方法
@ -61,22 +77,6 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作
* 修正了时间相关的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)
## 安装 ## 安装

View File

@ -17,7 +17,7 @@ import (
const ( const (
// Version show the xorm's version // Version show the xorm's version
Version string = "0.6.4.0910" Version string = "0.6.5.0410"
) )
func regDrvsNDialects() bool { func regDrvsNDialects() bool {