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

Function escape

packages/sql/mssql/src/MssqlClient.ts:703–703  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

701// compiler helpers
702
703const escape = (str: string) => "[" + str.replace(/\]/g, "]]").replace(/\./g, "].[") + "]"
704
705function numberToParamName(n: number) {
706 return `${Math.ceil(n + 1)}`

Callers 7

runProcedureFunction · 0.70
makeCompilerFunction · 0.70
makeCompilerFunction · 0.50
makeCompilerFunction · 0.50
fromClientFunction · 0.50
makeCompilerFunction · 0.50
makeCompilerFunction · 0.50

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected