OpenSpout CsvExporterType
The CsvExporterType
represents an exporter that uses an OpenSpout CSV writer.
Options
field_delimiter
- type:
string
- default:
','
Represents a string that separates the values.
field_enclosure
- type:
string
- default:
'"'
Represents a string that wraps the values.
should_add_bom
- type:
bool
- default:
true
Determines whether a BOM character should be added at the beginning of the file.
flush_threshold
- type:
int
- default:
500
Represents a number of rows after which the output should be flushed to a file.
Inherited options
use_headers
- type:
bool
- default:
true
Determines whether the exporter should add headers to the output file.
label
- type:
null
orstring
- default:
null
the label is "guessed" from the exporter name
Sets the label of the exporter, visible in the export action modal.
tempnam_dir
- type:
string
- default: the value returned by the
sys_get_temp_dir()
function
Sets the directory used to store temporary file during the export process.
tempnam_prefix
- type:
string
- default:
exporter_
Sets the prefix used to generate temporary file names during the export process.