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

Function custom

packages/effect/src/unstable/sql/Statement.ts:382–389  ·  view source on GitHub ↗
(
  kind: C["kind"]
)

Source from the content-addressed store, hash-verified

380 * @since 4.0.0
381 */
382export const custom = <C extends Custom<any, any, any, any>>(
383 kind: C["kind"]
384) =>
385(
386 paramA: C["paramA"],
387 paramB: C["paramB"],
388 paramC: C["paramC"]
389): C => ({ _tag: "Custom", kind, paramA, paramB, paramC } as C)
390
391/**
392 * Names the primitive value categories recognized by SQL statement helpers and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected