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

Function encodeParse

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

Source from the content-addressed store, hash-verified

775 * @since 4.0.0
776 */
777export const encodeParse = (options: Omit<Parse, "_tag">): Result.Result<Uint8Array, EncodeError> =>
778 encodeResult(() => encodeParseUnsafe(options))
779
780/**
781 * Encodes a `Bind` message using the binary format code for parameters and

Callers 1

encodeFunction · 0.85

Calls 2

encodeParseUnsafeFunction · 0.85
encodeResultFunction · 0.70

Tested by

no test coverage detected