1
This commit is contained in:
parent
dc1b9c2f6d
commit
cc336fdc0a
17
godbpool.go
17
godbpool.go
@ -11,3 +11,20 @@ func (this *goDbPool) init(style DBStyle) {
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user