Skip to content

civex view

Saved filters: show, export

Command Description
export Export a saved view's rows, honoring its saved filter/sort and flattening joined columns (text formats use the dotted "ref_field.target_field" header; json nests them). Any file/file_list column is bundled into a zip alongside the table. civex files export --view makes the same thing as a folder.
show Show a saved filter: its filter, columns and sort.

civex view export

Export a saved view's rows, honoring its saved filter/sort and flattening joined columns (text formats use the dotted "ref_field.target_field" header; json nests them). Any file/file_list column is bundled into a zip alongside the table. civex files export --view makes the same thing as a folder.

Usage

civex view export [OPTIONS] SCHEMA_NAME VIEW_NAME

Arguments

Argument Type Required Description
SCHEMA_NAME str yes Schema the view belongs to
VIEW_NAME str yes View name

Options

Option Type Default Description
--format, -f str csv Output format: one of csv, tsv, xlsx, json, jsonl
--output, -o path Destination file. Defaults to '.', or '.zip' when the view includes file/file_list columns.

civex view show

Show a saved filter: its filter, columns and sort.

Usage

civex view show SCHEMA_NAME VIEW_NAME

Arguments

Argument Type Required Description
SCHEMA_NAME str yes Schema the view belongs to
VIEW_NAME str yes View name