MCPcopy Create free account
hub / github.com/Effect-TS/effect / decodeArrayEffect

Function decodeArrayEffect

packages/sql/pg/benchmark/PgCodec.ts:221–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

219// postgres.js has no array parser to compare against: it leaves array columns
220// as their text.
221const decodeArrayEffect = () => success(PgTypes.decode(int4ArrayEncoded, PgTypes.OID.int4Array, 1))
222
223assert.deepStrictEqual(decodeArrayEffect(), int4ArrayValue)
224

Callers 1

PgCodec.tsFile · 0.85

Calls 2

successFunction · 0.70
decodeMethod · 0.45

Tested by

no test coverage detected