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

Function ParameterDescription

deno/src/connection.js:629–637  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

writeFunction · 0.70
preparedFunction · 0.70

Tested by

no test coverage detected