mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 01:20:54 +00:00
fix #985
This commit is contained in:
parent
2a4e2d4a71
commit
6d313aa15f
@ -489,10 +489,6 @@ func (o *orm) Driver() Driver {
|
|||||||
return driver(o.alias.Name)
|
return driver(o.alias.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (o *orm) GetDB() dbQuerier {
|
|
||||||
panic(ErrNotImplement)
|
|
||||||
}
|
|
||||||
|
|
||||||
// create new orm
|
// create new orm
|
||||||
func NewOrm() Ormer {
|
func NewOrm() Ormer {
|
||||||
BootStrap() // execute only once
|
BootStrap() // execute only once
|
||||||
|
@ -51,7 +51,6 @@ type Ormer interface {
|
|||||||
Rollback() error
|
Rollback() error
|
||||||
Raw(string, ...interface{}) RawSeter
|
Raw(string, ...interface{}) RawSeter
|
||||||
Driver() Driver
|
Driver() Driver
|
||||||
GetDB() dbQuerier
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// insert prepared statement
|
// insert prepared statement
|
||||||
|
Loading…
Reference in New Issue
Block a user