f5/godbpool.go
aozhiwei cc336fdc0a 1
2024-08-30 17:01:08 +08:00

31 lines
492 B
Go

package f5
type goDbPool struct {
dbPool
}
func (this *goDbPool) init(style DBStyle) {
this.dbPool.init(style)
}
func (this *goDbPool) unInit() {
this.dbPool.unInit()
}
func (this *goDbPool) NewOrmSelect(
dataSource string,
tblName string,
whereKv [][]string) (error, *DataSet) {
var resultErr error
var resultDs *DataSet
this.OrmSelect(
dataSource,
tblName,
whereKv,
func (err error, ds *DataSet) {
resultErr = err
resultDs = ds
})
return resultErr, resultDs
}