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

Function fragment

packages/effect/src/sql/Statement.ts:87–92  ·  view source on GitHub ↗
(
  segments: ReadonlyArray<Segment>
)

Source from the content-addressed store, hash-verified

85 * @since 4.0.0
86 */
87export const fragment = (
88 segments: ReadonlyArray<Segment>
89): Fragment => ({
90 [FragmentTypeId]: FragmentTypeId,
91 segments
92})
93
94/**
95 * Supported SQL dialect identifiers used by statement compilers.

Callers 6

returningFunction · 0.85
literalFunction · 0.85
joinFunction · 0.85
csvFunction · 0.85
Statement.tsFile · 0.85
in_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected