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

Method _handleDataRow

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

Source from the content-addressed store, hash-verified

445 }
446
447 _handleDataRow(msg) {
448 const activeQuery = this._getActiveQuery()
449 if (activeQuery == null) {
450 const error = new Error('Received unexpected dataRow message from backend.')
451 this._handleErrorEvent(error)
452 return
453 }
454 // delegate dataRow to active query
455 activeQuery.handleDataRow(msg)
456 }
457
458 _handlePortalSuspended(msg) {
459 const activeQuery = this._getActiveQuery()

Callers

nothing calls this directly

Calls 3

_getActiveQueryMethod · 0.95
_handleErrorEventMethod · 0.95
handleDataRowMethod · 0.45

Tested by

no test coverage detected