TODO++; version updates

This commit is contained in:
John
2019-07-04 19:22:11 +08:00
parent 273d992493
commit 4670a5d2e2
3 changed files with 4 additions and 3 deletions

View File

@ -49,6 +49,7 @@
1. gdb的Cache缓存功能增加可自定义缓存接口以便支持外部缓存功能缓存接口可以通过io.ReadWriter接口实现
1. grpool增加支持阻塞添加任务接口
1. gdb.Model在链式安全的对象创建中增加sync.Pool的使用
1. 增加g.Table快捷方法以方便操作数据表但是得考虑后续模型操作设计特别是脚手架的模型管理
# DONE

View File

@ -77,9 +77,9 @@ type DB interface {
Update(table string, data interface{}, condition interface{}, args ...interface{}) (sql.Result, error)
Delete(table string, condition interface{}, args ...interface{}) (sql.Result, error)
// 创建链式操作对象(Table为From的别名)
Table(tables string) *Model
// 创建链式操作对象
From(tables string) *Model
Table(tables string) *Model
// 设置管理
SetDebug(debug bool)

View File

@ -1,4 +1,4 @@
package gf
const VERSION = "v1.7.1"
const VERSION = "v1.7.2"
const AUTHORS = "john<john@goframe.org>"