()
| 58 | } |
| 59 | |
| 60 | _checkForMultirow() { |
| 61 | // if we already have a result with a command property |
| 62 | // then we've already executed one query in a multi-statement simple query |
| 63 | // turn our results into an array of results |
| 64 | if (this._result.command) { |
| 65 | if (!Array.isArray(this._results)) { |
| 66 | this._results = [this._result] |
| 67 | } |
| 68 | this._result = new Result(this._rowMode, this._result._types) |
| 69 | this._results.push(this._result) |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | // associates row metadata from the supplied |
| 74 | // message with this query object |
no outgoing calls
no test coverage detected