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

Function stringLiteral

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

Source from the content-addressed store, hash-verified

589 orElse: () => (s: string) => `'${s}'`
590 })
591 const stringLiteral = (s: string) => sql.literal(wrapString(s))
592 const stringLiteralArr = (arr: ReadonlyArray<string>) => sql.literal(`(${arr.map(wrapString).join(",")})`)
593
594 const refreshShards = sql.onDialectOrElse({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected