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

Function array

cf/src/index.js:323–328  ·  view source on GitHub ↗
(x, type)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

inferTypeFunction · 0.90

Tested by

no test coverage detected