Exports the given query as an Excel or CSV file.
Action.ExportQuery · [query] · [file] · [overwrite]
- The query to export.
- The name of the target file, having an '.xlsx' or '.csv' extension. The file will be added to the Exports folder inside the project folder. This folder will be created if necessary.
- Whether to overwrite the file if it exists. If false, a number will be appended to the name when needed.
The output file type is determined by the given file extension. If '.xlsx', an Excel file will be produced. Otherwise, a CSV file will be produced.