From e32cc4d1af94acc6e843fb5a9a9e4a0c81227c55 Mon Sep 17 00:00:00 2001
From: Nick O'Leary When converting to CSV, the column template is used to identify which properties to extract from the object and in what order. If the input is an array then the columns template is only used to optionally generate a row of column titles. The node can accept a multi-part input as long as the If outputting multiple messages they will aslo have their If outputting multiple messages they will have their Note: the column template must be comma separated - even if a different separator is chosen for the data.parts
property is set correctly.parts
property set.parts
property set and form a complete message sequence.
On Windows, path separators may need to be escaped, for example: \\Users\\myUser
.
Optionally, a text file can be split into lines, outputting one message per line, or a binary file - file into smaller buffer chunks, the chunk size is operating system dependant, but typically 64k (linux/mac) or 41k (Windows).
-If split the outgoing messages will also have a parts
property set.
When split into multiple messages, each message will have a parts
+ property set, forming a complete message sequence.
Before Node-RED 0.17, if this node hit an error whilst reading the file, it would
send a message with no msg.payload
and msg.error
set to the