Skip to main content

@terascope/data-mate / teal-frame/expand-values

teal-frame/expand-values

Interfaces​

InterfaceDescription
ExpandValuesOptionsSQL for the @expandValues directive, which turns each array element into its own output row. There are two modes:

Functions​

expandValuesSQL()​

expandValuesSQL(from, columns, config, fields, options): object

Defined in: data-mate/src/teal-frame/expand-values.ts:61

Parameters​

ParameterType
fromstring
columnsreadonly string[]
configFrameConfig
fieldsreadonly string[]
optionsExpandValuesOptions

Returns​

object

config​

config: FrameConfig

sql​

sql: string