mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
数据库读取多个结果集
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user