mirror of https://github.com/CrimsonTome/tldr.git
duckdb: simplify read_csv command (#13287)
parent
5c629ef899
commit
aca802f4c1
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
- Read CSV from `stdin` and write CSV to `stdout`:
|
- Read CSV from `stdin` and write CSV to `stdout`:
|
||||||
|
|
||||||
`cat {{path/to/source.csv}} | duckdb -c "{{COPY (FROM read_csv_auto('/dev/stdin')) TO '/dev/stdout' WITH (FORMAT CSV, HEADER)}}"`
|
`cat {{path/to/source.csv}} | duckdb -c "{{COPY (FROM read_csv('/dev/stdin')) TO '/dev/stdout' WITH (FORMAT CSV, HEADER)}}"`
|
||||||
|
|
||||||
- Display help:
|
- Display help:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue