insert

Insert a new column.

Signature

> insert (field) (new value)

Parameters

  • field: the name of the column to insert
  • new value: the new value to give the cell(s)

Examples

Insert a new value

> echo {'name': 'nu', 'stars': 5} | insert alias 'Nushell'