Closed bernardoadc closed 3 years ago
.pipe(csv({ originalLine: false })) /* a;b;c [ 1;2;3 ---> {a:1, b:2, c:3}, 4;5;6 {a:4, b:5, c:6}, ] */
.pipe(csv()) /* a;b;c [ 1;2;3 ---> {a:1, b:2, c:3, __line: 2}, 4;5;6 {a:4, b:5, c:6, __line: 3}, ] */
To have an option ("originalLine" in example) to inhibit the addition of "__line" property to the resulting objects. It's bad for SQL insert, for example.
Actually, it's covered in #109
Expected Behavior / Situation
Actual Behavior / Situation
Modification Proposal
To have an option ("originalLine" in example) to inhibit the addition of "__line" property to the resulting objects. It's bad for SQL insert, for example.