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

Function array

cjs/src/index.js:322–327  ·  view source on GitHub ↗
(x, type)

Source from the content-addressed store, hash-verified

320 }
321
322 function array(x, type) {
323 if (!Array.isArray(x))
324 return array(Array.from(arguments))
325
326 return new Parameter(x, type || (x.length ? inferType(x) || 25 : 0), options.shared.typeArrayMap)
327 }
328
329 function handler(query) {
330 if (ending)

Callers

nothing calls this directly

Calls 1

inferTypeFunction · 0.50

Tested by

no test coverage detected