ExportQuery
Exports the given query as an Excel or CSV file.
Syntax
Action.ExportQuery
· [query]
· [file]
· [overwrite]
Parameters
- query
- The query to export.
- file
- 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.
- overwrite
- Whether to overwrite the file if it exists. If false, a number will be appended to the name when needed.
Remarks
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.