MCPcopy Create free account
hub / github.com/denodrivers/postgres / parseCommandCompleteMessage

Function parseCommandCompleteMessage

connection/message.ts:70–72  ·  view source on GitHub ↗
(message: Message)

Source from the content-addressed store, hash-verified

68 * This function returns the command result tag from the command message
69 */
70export function parseCommandCompleteMessage(message: Message): string {
71 return message.reader.readString(message.byteCount);
72}
73
74/**
75 * https://www.postgresql.org/docs/14/protocol-error-fields.html

Callers 2

#simpleQueryMethod · 0.90
#preparedQueryMethod · 0.90

Calls 1

readStringMethod · 0.80

Tested by

no test coverage detected