MCPcopy Create free account
hub / github.com/effect-app/libs / literal

Function literal

repos/effect/packages/effect/src/unstable/sql/Statement.ts:163–167  ·  view source on GitHub ↗
(value: string, params?: ReadonlyArray<unknown> | undefined)

Source from the content-addressed store, hash-verified

161 */
162export interface Literal {
163 readonly _tag: "Literal"
164 readonly value: string
165 readonly params?: ReadonlyArray<unknown> | undefined
166}
167
168/**
169 * Constructs a raw SQL literal segment. The literal text is not escaped, so use
170 * bound parameters for untrusted values.

Callers 7

unsafeFunction · 0.70
statementFunction · 0.70
joinFunction · 0.70
csvFunction · 0.70
Statement.tsFile · 0.70
convertLiteralOrFragmentFunction · 0.70
in_Function · 0.70

Calls 1

fragmentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…