Export Database Table
unfour.db.export_tableExport a database table to SQL, CSV, or JSON in Unfour's managed exports directory, with optional columns, filters, and row limits.
Instructions
Exports one table to a file in Unfour's managed exports directory. Optional columns, structured filters, and limit apply to the data portion. Data exports without limit require content-bound confirmation; omitted limit still means all matching rows. Returns file metadata; no destination path is accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional maximum number of data rows. Omit for all matching rows, which requires confirmation when content includes data. | |
| format | Yes | ||
| schema | No | ||
| catalog | No | ||
| columns | No | Optional columns to include in the data portion. Omit to export every column. | |
| confirm | No | ||
| content | Yes | ||
| filters | No | Optional structured row predicates combined with AND. Each value is a string, number, or null and is bound; this is not a raw WHERE clause. | |
| tableName | Yes | ||
| workspaceId | No | ||
| connectionId | Yes | ||
| confirmationText | No | ||
| confirmation_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | Yes | ||
| rowCount | Yes | ||
| bytesWritten | Yes |