-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
- Operating System: Windows 10
- Node Version: v14.16.0
- NPM Version: 6.14.11
- etl Version: 0.6.12
Expected Behavior / Situation
.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},
]
*/
Actual Behavior / Situation
.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},
]
*/
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.
Metadata
Metadata
Assignees
Labels
No labels