Exporting Data

A bucket can be exported to a CSV file using the export statement.

Syntax:

export <bucket> to csv("<filepath>");

Example:

export Products to csv("products.csv");

The exported file will contain a header row derived from the bucket’s field names, followed by one row per record. The file path is relative to the working directory from which arcc was invoked.