aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/go-xorm/xorm/interface.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-06-09 16:28:52 +0800
committerUnknwon <u@gogs.io>2018-06-09 16:28:52 +0800
commita75c4352453f3dfde38f2cd4930a020427951539 (patch)
tree560cde142eb9a89b158299af65c7aeeeff3a1cfa /vendor/github.com/go-xorm/xorm/interface.go
parent53c8e4263b71d20e8decfcc7a6970e3497473bec (diff)
vendor: update github.com/go-xorm/…
Diffstat (limited to 'vendor/github.com/go-xorm/xorm/interface.go')
-rw-r--r--vendor/github.com/go-xorm/xorm/interface.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/go-xorm/xorm/interface.go b/vendor/github.com/go-xorm/xorm/interface.go
index 85a46a27..0bc12ba0 100644
--- a/vendor/github.com/go-xorm/xorm/interface.go
+++ b/vendor/github.com/go-xorm/xorm/interface.go
@@ -42,6 +42,7 @@ type Interface interface {
IsTableExist(beanOrTableName interface{}) (bool, error)
Iterate(interface{}, IterFunc) error
Limit(int, ...int) *Session
+ MustCols(columns ...string) *Session
NoAutoCondition(...bool) *Session
NotIn(string, ...interface{}) *Session
Join(joinOperator string, tablename interface{}, condition string, args ...interface{}) *Session
@@ -76,6 +77,7 @@ type EngineInterface interface {
Dialect() core.Dialect
DropTables(...interface{}) error
DumpAllToFile(fp string, tp ...core.DbType) error
+ GetCacher(string) core.Cacher
GetColumnMapper() core.IMapper
GetDefaultCacher() core.Cacher
GetTableMapper() core.IMapper
@@ -84,9 +86,11 @@ type EngineInterface interface {
NewSession() *Session
NoAutoTime() *Session
Quote(string) string
+ SetCacher(string, core.Cacher)
SetDefaultCacher(core.Cacher)
SetLogLevel(core.LogLevel)
SetMapper(core.IMapper)
+ SetSchema(string)
SetTZDatabase(tz *time.Location)
SetTZLocation(tz *time.Location)
ShowSQL(show ...bool)
@@ -94,6 +98,7 @@ type EngineInterface interface {
Sync2(...interface{}) error
StoreEngine(storeEngine string) *Session
TableInfo(bean interface{}) *Table
+ TableName(interface{}, ...bool) string
UnMapType(reflect.Type)
}