Skip to content
View as Markdown
View as Markdown

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

Function: stringInList()

stringInList(values): string

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

Builds a comma-separated, quoted string list for a SQL IN (...) clause.

Parameters

values

string[]

Raw string values

Returns

string

The escaped, single-quoted values joined by commas (no surrounding parens)

Throws

If values is empty

Released under the Apache-2.0 License.