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

Function numberToParamName

packages/sql/mssql/src/MssqlClient.ts:705–707  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

703const escape = (str: string) => "[" + str.replace(/\]/g, "]]").replace(/\./g, "].[") + "]"
704
705function numberToParamName(n: number) {
706 return `${Math.ceil(n + 1)}`
707}
708
709/**
710 * Default mapping from Effect SQL primitive value kinds to Tedious SQL Server parameter data types.

Callers 2

runFunction · 0.85
placeholderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected