1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 22:11:29 +00:00
This commit is contained in:
astaxie 2015-02-27 22:37:41 +08:00
parent 2a4e2d4a71
commit 6d313aa15f
2 changed files with 0 additions and 5 deletions

View File

@ -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

View File

@ -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