mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 18:40:49 +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)
|
||||
}
|
||||
|
||||
func (o *orm) GetDB() dbQuerier {
|
||||
panic(ErrNotImplement)
|
||||
}
|
||||
|
||||
// create new orm
|
||||
func NewOrm() Ormer {
|
||||
BootStrap() // execute only once
|
||||
|
@ -51,7 +51,6 @@ type Ormer interface {
|
||||
Rollback() error
|
||||
Raw(string, ...interface{}) RawSeter
|
||||
Driver() Driver
|
||||
GetDB() dbQuerier
|
||||
}
|
||||
|
||||
// insert prepared statement
|
||||
|
Loading…
Reference in New Issue
Block a user