Skip to main content
interface ExportRecordsToFilesRequest
filepath: string;
options?: Record<string, string>;
table_name: string;
filepath: string

Path to data export target. If filepath has a file extension, it is read as the name of a file. If filepath is a directory, then the source table name with a random UUID appended will be used as the name of each exported file, all written to that directory. If filepath is a filename, then all exported files will have a random UUID appended to the given name. In either case, the target directory specified or implied must exist. The names of all exported files are returned in the response.

options?: Record<string, string>

Optional parameters.

table_name: string

The name of the table whose records are to be exported.