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

Function ParameterDescription

cf/src/connection.js:628–636  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

writeFunction · 0.70
preparedFunction · 0.70

Tested by

no test coverage detected