- orderUseNewTable except store feature related.
This commit is contained in:
@@ -57,6 +57,10 @@ func GetDB() *DaoDB {
|
||||
return &DaoDB{db: orm.NewOrm()}
|
||||
}
|
||||
|
||||
func WrapDB(ormDb orm.Ormer) *DaoDB {
|
||||
return &DaoDB{db: ormDb}
|
||||
}
|
||||
|
||||
func Begin(db *DaoDB) error {
|
||||
return db.db.Begin()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user