MCPcopy Index your code
hub / github.com/simstudioai/sim / escapeWiql

Function escapeWiql

apps/sim/connectors/azure-devops/azure-devops.ts:161–163  ·  view source on GitHub ↗

* Escapes a value for safe interpolation into a single-quoted WIQL string literal. * WIQL escapes an embedded single quote by doubling it.

(value: string)

Source from the content-addressed store, hash-verified

159 * WIQL escapes an embedded single quote by doubling it.
160 */
161function escapeWiql(value: string): string {
162 return value.replace(/'/g, "''")
163}
164
165/**
166 * Encodes an external ID that combines a discriminator with its identifier,

Callers 1

buildWiqlFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected