MentDB
Mentalese Database Engine
Back / All functions / CSV

CSV parser.

csv parse

csv parse <namespace> <filePath> <columnSeparator> <quoteChar> <forceColumnNames> <mqlAction>

Description

    Parse CSV file

Parameters

    namespace:   The namespace - string - required
    filePath:   The file path - string - required
    columnSeparator:   The column separator - string - required
    quoteChar:   The quote char - string - required
    forceColumnNames:   To force the column name (can be empty) - string - required
    mqlAction:   The MQL action to execut on each line - string - required
admin
csv parse (mql "T") (mql "/Users/jimmitry/Desktop/file.csv") (mql ",") (mql "'") (mql "A,B,C") {

log trace [T_A];

}
mentdb




© 2012 - 2019 - MentDB.