(stat string)
| 284 | } |
| 285 | |
| 286 | func (qr *QueryResult) getStat(stat string) float64 { |
| 287 | if val, ok := qr.statistics[stat]; ok { |
| 288 | return val |
| 289 | } else { |
| 290 | return 0.0 |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | // Next returns true only if there is a record to be processed. |
| 295 | func (qr *QueryResult) Next() bool { |
no outgoing calls
no test coverage detected