(msg)
| 80 | } |
| 81 | |
| 82 | handleDataRow(msg) { |
| 83 | let row |
| 84 | |
| 85 | if (this._canceledDueToError) { |
| 86 | return |
| 87 | } |
| 88 | |
| 89 | try { |
| 90 | row = this._result.parseRow(msg.fields) |
| 91 | } catch (err) { |
| 92 | this._canceledDueToError = err |
| 93 | return |
| 94 | } |
| 95 | |
| 96 | this.emit('row', row, this._result) |
| 97 | if (this._accumulateRows) { |
| 98 | this._result.addRow(row) |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | handleCommandComplete(msg, connection) { |
| 103 | this._checkForMultirow() |
no test coverage detected