MCPcopy Index your code
hub / github.com/brianc/node-postgres / _handleCommandComplete

Method _handleCommandComplete

packages/pg/lib/client.js:480–489  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

478 }
479
480 _handleCommandComplete(msg) {
481 const activeQuery = this._getActiveQuery()
482 if (activeQuery == null) {
483 const error = new Error('Received unexpected commandComplete message from backend.')
484 this._handleErrorEvent(error)
485 return
486 }
487 // delegate commandComplete to active query
488 activeQuery.handleCommandComplete(msg, this.connection)
489 }
490
491 _handleParseComplete() {
492 const activeQuery = this._getActiveQuery()

Callers

nothing calls this directly

Calls 3

_getActiveQueryMethod · 0.95
_handleErrorEventMethod · 0.95
handleCommandCompleteMethod · 0.45

Tested by

no test coverage detected