more interfaces
This commit is contained in:
parent
5eb6dcd789
commit
2e373f9edf
|
@ -72,6 +72,7 @@ type EngineInterface interface {
|
||||||
|
|
||||||
Before(func(interface{})) *Session
|
Before(func(interface{})) *Session
|
||||||
Charset(charset string) *Session
|
Charset(charset string) *Session
|
||||||
|
ClearCache(...interface{}) error
|
||||||
CreateTables(...interface{}) error
|
CreateTables(...interface{}) error
|
||||||
DBMetas() ([]*core.Table, error)
|
DBMetas() ([]*core.Table, error)
|
||||||
Dialect() core.Dialect
|
Dialect() core.Dialect
|
||||||
|
@ -83,6 +84,7 @@ type EngineInterface interface {
|
||||||
GetTableMapper() core.IMapper
|
GetTableMapper() core.IMapper
|
||||||
GetTZDatabase() *time.Location
|
GetTZDatabase() *time.Location
|
||||||
GetTZLocation() *time.Location
|
GetTZLocation() *time.Location
|
||||||
|
MapCacher(interface{}, core.Cacher) error
|
||||||
NewSession() *Session
|
NewSession() *Session
|
||||||
NoAutoTime() *Session
|
NoAutoTime() *Session
|
||||||
Quote(string) string
|
Quote(string) string
|
||||||
|
@ -97,6 +99,7 @@ type EngineInterface interface {
|
||||||
SetSchema(string)
|
SetSchema(string)
|
||||||
SetTZDatabase(tz *time.Location)
|
SetTZDatabase(tz *time.Location)
|
||||||
SetTZLocation(tz *time.Location)
|
SetTZLocation(tz *time.Location)
|
||||||
|
ShowExecTime(...bool)
|
||||||
ShowSQL(show ...bool)
|
ShowSQL(show ...bool)
|
||||||
Sync(...interface{}) error
|
Sync(...interface{}) error
|
||||||
Sync2(...interface{}) error
|
Sync2(...interface{}) error
|
||||||
|
|
Loading…
Reference in New Issue