Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Given multiple columns, create a single JSON column from them.

Operator Usage in Easy Mode

  1. Click + on the parent node.
  2. Enter Columns to Json operator in the search field and select the operator from the Results to open the operator form.
  3. In the Input Table drop-down, enter or select the table containing the data to run this operator on.
  4. In the List of Columns drop-down, enter or select the list of columns to create a JSON column. You can add multiple columns using comma-separated values.
  5. Click Run to view the result.
  6. Click Save to add the operator to the playbook.
  7. Click Cancel to discard the operator form.

Usage Details

LQL Command

Code Block
columnsToJson(table, columns)

table: Table name
columns: Comma-separated list of columns, such as "col1, col2, col3"

Example

Input
table: field1, field2, field3

...