Skip to content

Create export scripts to output CSV files #188

@joeribekker

Description

@joeribekker

Thema / Theme

API

Omschrijving / Description

Please create an alternative script, or option in the current script, for each register that outputs all tables in CSV format, ie:

dump_data.sh --csv

Does something like:

for t in table1 table2 table3; do
  psql -U username -d database_name -c "\copy $t TO 'component_${t}.csv' CSV HEADER"
done

Toegevoegde waarde / Added value

No response

Aanvullende opmerkingen / Additional context

No response

Metadata

Metadata

Assignees

Projects

Status

Implemented

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions