join
for filters> join {flags} (right-table) (left-on) (right-on)
--inner, -i
: Inner join (default)--left, -l
: Left-outer join--right, -r
: Right-outer join--outer, -o
: Outer joinright-table
: The right table in the joinleft-on
: Name of column in input (left) table to join onright-on
: Name of column in right table to join on. Defaults to same column as left table.input | output |
---|---|
table | table |
Join two tables
> [{a:1b:2}] |join [{a:1c:3}] a
╭───┬───┬───┬───╮
│# │ a │ b │ c │
├───┼───┼───┼───┤
│0│1│2│3│
╰───┴───┴───┴───╯
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/join.html