数据库读取多个结果集

This commit is contained in:
473190078@qq.com
2019-03-14 11:55:39 +08:00
parent 6148d2bebb
commit 2521e21c30

View File

@@ -71,6 +71,14 @@ func (slf *DBResult) Close() {
}
}
//NextResult ...
func (slf *DBResult) NextResult() bool {
if slf.Err != nil || slf.res == nil {
return false
}
return slf.res.NextResultSet()
}
/*
// Next ...
func (slf *DBResult) Next() bool {