make_fields

Description

Extend an existing object with new fields.

Return type

object

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

make_fields( column, entries ... )

Argument

Type

Required

Multiple

column

object

Required

Only one

entries

expression

Required

Can be multiple

Examples

make_col larger:make_fields(obj, key1:'value1', key2:'value2')

Create a column ‘larger’ based on column ‘obj’ with two key value pairs added (existing fields with the same name will be replaced).