nushell/docs/commands/merge.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

387 B

title layout version
merge command 0.59.0

Merge a table into an input table

Signature

> merge (block)

Parameters

  • block: the block to run and merge into the table

Examples

Merge an index column into the input table

> [a b c] | wrap name | merge { [1 2 3] | wrap index }

Merge two records

> {a: 1, b: 2} | merge { {c: 3} }