getSQLConcat()
getSQLConcat(
concatOperator?:string): (...values:string[]) =>string
Defined in: packages/core/src/utils/formatQuery/utils.ts:61
Returns a preset-aware SQL string-concatenation function. Emits CONCAT(a, b, ...) when
concatOperator is "CONCAT" (case-insensitive), otherwise joins with the infix operator
(e.g. a || b, a + b).
Parameters
| Parameter | Type | Default value |
|---|---|---|
concatOperator | string | '||' |
Returns
(...values: string[]) => string
caution
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.