(cb)
| 201 | // users really shouldn't be calling 'end' here and terminating a connection to postgres |
| 202 | // via the low level connection.end api |
| 203 | end(cb) { |
| 204 | if (this.state !== 'initialized') { |
| 205 | this.connection.sync() |
| 206 | } |
| 207 | this.connection.once('end', cb) |
| 208 | this.connection.end() |
| 209 | } |
| 210 | |
| 211 | close(cb) { |
| 212 | let promise |
no test coverage detected