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

Function placeholder

packages/sql-mssql/src/MssqlClient.ts:474–476  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

472 Statement.makeCompiler<MssqlCustom>({
473 dialect: "mssql",
474 placeholder(_) {
475 return `@${numberToParamName(_ - 1)}`
476 },
477 onIdentifier: transform ?
478 function(value, withoutTransform) {
479 return withoutTransform ? escape(value) : escape(transform(value))

Callers 1

onCustomFunction · 0.70

Calls 1

numberToParamNameFunction · 0.85

Tested by

no test coverage detected