remove - PeterNaydenov/code-assembly-line GitHub Wiki
Remove key/value from the current-data items.
Fields
{
do : 'remove'
, keys : toRemove
, select ?: items
}
Types
- items: string | number | Array < string | number >. Represent elements in the list. There are few predefined values: 'first','last','all'. Use number to define element from start to end or (-number) from end to start. Missing selection param is equal to: select: ['all']
- toRemove: string[]. List of keys that will be removed.
Example
{ do: 'remove', keys: ['status','password']}
Will remove 'status' and 'password' fields from current-data items.