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

Function stringLiteral

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

Source from the content-addressed store, hash-verified

532 orElse: () => (s: string) => `'${s}'`
533 })
534 const stringLiteral = (s: string) => sql.literal(wrapString(s))
535 const stringLiteralArr = (arr: ReadonlyArray<string>) => sql.literal(`(${arr.map(wrapString).join(",")})`)
536
537 const refreshShards = sql.onDialectOrElse({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected