MCPcopy Create free account
hub / github.com/porsager/postgres / ParameterDescription

Function ParameterDescription

cjs/src/connection.js:626–634  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

624 }
625
626 function ParameterDescription(x) {
627 const length = x.readUInt16BE(5)
628
629 for (let i = 0; i < length; ++i)
630 !query.statement.types[i] && (query.statement.types[i] = x.readUInt32BE(7 + i * 4))
631
632 query.prepare && (statements[query.signature] = query.statement)
633 query.describeFirst && !query.onlyDescribe && (write(prepared(query)), query.describeFirst = false)
634 }
635
636 function RowDescription(x) {
637 if (result.command) {

Callers

nothing calls this directly

Calls 2

writeFunction · 0.70
preparedFunction · 0.70

Tested by

no test coverage detected