Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/cip / stringLiteral

Function: stringLiteral()

stringLiteral(value): string

Defined in: packages/b2c-tooling-sdk/src/operations/cip/sql.ts:83

Builds a quoted, escaped SQL string literal from a raw value.

Parameters

value

string

Raw string value

Returns

string

A single-quoted, escaped SQL string literal (for example O'Brien -> 'O''Brien')

Released under the Apache-2.0 License.