DuckDB 2 · Files and command line

Run a query from the shell

Run one statement and exit, which suits scripts.

duckdb -c "SELECT count(*) FROM read_parquet('data/*.parquet')"

Official DuckDB 2 documentation

More files and command line commands

All files and command line commands · DuckDB 2 cheatsheet

Was this page helpful?