1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 18:40:49 +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)
}
func (o *orm) GetDB() dbQuerier {
panic(ErrNotImplement)
}
// create new orm
func NewOrm() Ormer {
BootStrap() // execute only once

View File

@ -51,7 +51,6 @@ type Ormer interface {
Rollback() error
Raw(string, ...interface{}) RawSeter
Driver() Driver
GetDB() dbQuerier
}
// insert prepared statement