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

Function parseReadyForQueryMessage

packages/pg-protocol/src/parser.ts:243–246  ·  view source on GitHub ↗
(reader: BufferReader)

Source from the content-addressed store, hash-verified

241}
242
243const parseReadyForQueryMessage = (reader: BufferReader) => {
244 const status = reader.string(1)
245 return new ReadyForQueryMessage(LATEINIT_LENGTH, status)
246}
247
248const parseCommandCompleteMessage = (reader: BufferReader) => {
249 const text = reader.cstring()

Callers 1

handlePacketMethod · 0.85

Calls 1

stringMethod · 0.80

Tested by

no test coverage detected