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