pg_export_table_data
Export PostgreSQL table data to JSON or CSV for analysis or migration. Specify table name, output path, and optional filters like 'where' clause or row limit to customize data extraction.
Instructions
Export table data to JSON or CSV format
Input Schema
Name | Required | Description | Default |
---|---|---|---|
connectionString | No | ||
format | No | json | |
limit | No | ||
outputPath | Yes | absolute path to save the exported data | |
tableName | Yes | ||
where | No |