drop
Table of Contents
Operator
drop — drop fields from record values
Synopsis
drop <field> [, <field> ...]
Description
The drop
operator removes one or more fields from records in the input sequence
and copies the modified records to its output. If a field to be dropped
is not present, then no effect for the field occurs. In particular,
non-record values are copied unmodified.
Examples
Drop of a field
drop b
{a:1,b:2,c:3}
Loading...
Non-record values are copied to output
drop a,b
1
{a:1,b:2,c:3}
Loading...