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

Function literal

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

Source from the content-addressed store, hash-verified

162 * @since 4.0.0
163 */
164export const literal = (value: string, params?: ReadonlyArray<unknown> | undefined): Literal => ({
165 _tag: "Literal",
166 value,
167 params
168})
169
170/**
171 * SQL identifier segment whose value is escaped by the active dialect compiler.

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