nushell/crates/nu-command/src/stor
Rodrigo Friães 9ebaa737aa
feat: stor insert accepts lists (#14175)
Closes #11433 
# Description

This feature implements passing a list into `stor insert` through
pipeline.
```bash
stor create --table-name nudb --columns {bool1: bool, int1: int, float1: float} ;
[[bool1 int1 float1]; [true 5 1.1], [false 8 3.14]] | stor insert --table-name nudb
```
```bash
stor create --table-name files --columns {name: str, type: str, size: int, modified: datetime} ;
ls | stor insert --table-name files
 ```

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`
2024-10-29 06:32:55 -05:00
..
create.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
delete.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
export.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
import.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
insert.rs feat: stor insert accepts lists (#14175) 2024-10-29 06:32:55 -05:00
mod.rs Simplify the feature gates for stor commands (#11416) 2023-12-24 13:31:46 +01:00
open.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
reset.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
stor_.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
update.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00