Download data from a table.
kbc remote table download [table] [flags]
file-, input is expected from standard input, so the command is pipeable.table-H, --storage-api-host <string>connection.keboola.com-o, --output <string>-, output goes to stdout without any extra text, so the command is pipeable.--changed-since <string>Date may be written in any format compatible with strtotime.
--changed-until <string>Date may be written in any format compatible with strtotime.
--columns <string>--format <string>json and csv.
The json format is only supported in projects with the Snowflake backend.
--header--limit <int>--order <string>Accepts a comma-separated list of column+order pairs, such as First_Name,Last_Name=desc.
If the order for a column is not specified, it defaults to ascending, such as First_Name in the example above.
--where <string>Accepts a semicolon-separated list of expressions, each of which specifies a column and a comparison to one or more values, such as First_Name=Ivan,Pavel;Birth_Date>=1990-01-01
--allow-slicedBy default, sliced files are stitched together to form a single file. If this flag is set when downloading a sliced file, the resulting file will instead be stored as a directory, and each slice will be stored as a separate file in that directory.
Download 2000 rows from a table:
➜ kbc remote table download in.c-gdrive.account -o account.csv --limit 2000
Unloading table, please wait.
Table "in.c-gdrive.account" unloaded to file "734370450".
File "734370450" downloaded to "account.csv".