Export a query
draxlr_export_queryExport a saved query's results as a CSV or Excel (.xlsx) file. Works for both raw SQL and query-builder saved queries. Use draxlr_list_saved_queries or draxlr_get_query to get a queryId. Returns a short-lived link to download the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format: 'csv' (default) or 'xlsx' | |
| queryId | Yes | The saved query id to export (from draxlr_list_saved_queries or draxlr_get_query) |