Object -
io
:
WritableCSVChannel
Represents a WritableCSVChannel which could be used to write records from CSV file.
Constructor
__init
(WritableCharacterChannel characterChannel, Separator fs)
- characterChannel WritableCharacterChannel
- fs Separator ,
-
Field separator which will separate between the records in the CSV
Methods
Writes record to a given CSV file.
Parameters
- csvRecord string[]
-
A record to be written to the channel
-
Return Type
(Error?) Returns an
Error
if the record could not be written properly