MCPcopy
hub / github.com/Effect-TS/effect / escape

Function escape

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

Source from the content-addressed store, hash-verified

503// compiler helpers
504
505const escape = (str: string) => "[" + str.replace(/\]/g, "]]").replace(/\./g, "].[") + "]"
506
507function numberToParamName(n: number) {
508 return `${Math.ceil(n + 1)}`

Callers 6

runProcedureFunction · 0.70
makeCompilerFunction · 0.70
generateColumnsFunction · 0.50
makeCompilerFunction · 0.50
makeCompilerFunction · 0.50
makeCompilerFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected