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

Function Parse

cf/src/connection.js:974–978  ·  view source on GitHub ↗
(str, parameters, types, name = '')

Source from the content-addressed store, hash-verified

972 }
973
974 function Parse(str, parameters, types, name = '') {
975 b().P().str(name + b.N).str(str + b.N).i16(parameters.length)
976 parameters.forEach((x, i) => b.i32(types[i] || 0))
977 return b.end()
978 }
979
980 function Describe(x, name = '') {
981 return b().D().str(x).str(name + b.N).end()

Callers 2

describeFunction · 0.70
unnamedFunction · 0.70

Calls 2

forEachMethod · 0.65
endMethod · 0.65

Tested by 1

describeFunction · 0.56