duckdb
Client for DuckDB, an in-process analytical SQL engine. More information: https://duckdb.org/docs/stable/clients/cli/arguments.
- Start an interactive shell with a transient in-memory database:
duckdb
- Start an interactive shell on a database file. If the file does not exist, a new database is created:
duckdb
- Query a CSV, JSON, or Parquet file using SQL:
duckdb -c ""
- Directly query a CSV, JSON, or Parquet file using the
fileview:
duckdb -c ""
- Run an SQL script:
duckdb -f
- Run query on database file and keep the interactive shell open:
duckdb -cmd ""
- Read CSV from
stdinand write CSV tostdout:
cat | duckdb -c ""
- Start the DuckDB UI, a web interface with notebooks:
duckdb -ui
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
