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

Function encodeBind

packages/sql/pg/src/PgProtocol.ts:851–852  ·  view source on GitHub ↗
(options: Omit<Bind, "_tag">)

Source from the content-addressed store, hash-verified

849 * @since 4.0.0
850 */
851export const encodeBind = (options: Omit<Bind, "_tag">): Result.Result<Uint8Array, EncodeError> =>
852 encodeResult(() => encodeBindUnsafe(options))
853
854/**
855 * A sink for writing parameter bytes into a `Bind` frame. The frame reserves

Callers 5

PgTypes.test.tsFile · 0.85
PgProtocol.test.tsFile · 0.85
encodeFunction · 0.85
encodeUnnamedParseBindFunction · 0.85
encodeQueryFunction · 0.85

Calls 2

encodeBindUnsafeFunction · 0.85
encodeResultFunction · 0.70

Tested by

no test coverage detected