mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 14:36:08 +02:00
@ -14,3 +14,15 @@ Remove the given columns from the table. If you want to remove rows, try 'drop'.
|
||||
|
||||
- `...rest`: the names of columns to remove from the table
|
||||
|
||||
## Examples
|
||||
|
||||
Lists the files in a directory without showing the modified column
|
||||
```shell
|
||||
> ls | reject modified
|
||||
```
|
||||
|
||||
Reject the specified field in a record
|
||||
```shell
|
||||
> echo {a: 1, b: 2} | reject a
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user