()
| 218 | } |
| 219 | |
| 220 | func (rows *baseRows) Next() bool { |
| 221 | if rows.closed { |
| 222 | return false |
| 223 | } |
| 224 | |
| 225 | if rows.resultReader.NextRow() { |
| 226 | rows.rowCount++ |
| 227 | rows.values = rows.resultReader.Values() |
| 228 | return true |
| 229 | } else { |
| 230 | rows.Close() |
| 231 | return false |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | func (rows *baseRows) Scan(dest ...any) error { |
| 236 | m := rows.typeMap |