Exporting Data ============== A bucket can be exported to a CSV file using the ``export`` statement. **Syntax:** .. code-block:: none export to csv(""); **Example:** .. code-block:: aql 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.