MCPcopy Index your code
hub / github.com/Effect-TS/effect / stringLiteral

Function stringLiteral

packages/cluster/src/SqlRunnerStorage.ts:458–458  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

456 orElse: () => (s: string) => `'${s}'`
457 })
458 const stringLiteral = (s: string) => sql.literal(wrapString(s))
459 const stringLiteralArr = (arr: ReadonlyArray<string>) => sql.literal(`(${arr.map(wrapString).join(",")})`)
460
461 const refreshShards = sql.onDialectOrElse({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected