export_data
Exports SQL query results to CSV or JSON files using a specified database connection. Supports row limits and optional headers.
Instructions
Export query results to various formats (CSV, JSON, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to execute for export (SELECT only) | |
| format | No | Export format (csv or json) | csv |
| maxRows | No | Maximum number of rows to export | |
| connectionId | Yes | The ID or name of the database connection | |
| includeHeaders | No | Include column headers in export |