drop_fields

Description

Drop one or more fields from an object.

Return type

object

Domain

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

Categories

Usage

drop_fields(object, field_1, field_2, ...)

Argument

Type

Optional

Repeatable

Restrictions

object

object

no

no

none

field

string

no

yes

constant

Examples

make_col smaller:drop_fields(obj, 'key1', 'key2')

Create a column ‘smaller’ based on column ‘obj’ with ‘key1’ and ‘key2’ dropped.