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

Function bindEffectFused

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

Source from the content-addressed store, hash-verified

103const bindParameters = payload.map(({ oid, value }) => makeParameter(oid, value))
104const encodeBindFused = PgProtocol.makeBindEncoder(PgTypes.writeParameter)
105const bindEffectFused = () => success(encodeBindFused({ portal: "", statement: "s1", parameters: bindParameters }))
106
107// Array parameters, where the win is much larger: every element used to be
108// encoded into an array of its own before being copied into the frame.

Callers 1

PgCodec.tsFile · 0.85

Calls 1

successFunction · 0.70

Tested by

no test coverage detected