May 16, 2024

Passing through all columns to the result data

By default, Dromo will only include fields that were mapped to your schema in the result data. If you would like to access all of the columns from the original file, you can now do this with the passThroughUnmappedColumns setting.

When enabled, in addition to all mapped and virtual fields, you will get a special $unmapped key in each result row with the value of all unmapped columns, for example:

{
    "$unmapped": {
        "1": "Phillips",
        "3": "(124) 246-3980",
        "4": "United States",
        "5": "93715",
        "6": "",
        "7": "proposed terms"
    },
    "firstName": "Michael",
    "email": "jason@moxie.xyz"
}

© 2024 Dromo

Subscribe