MentDB  Mentalese Database Engine
Strong AI, Weak AI, Interoperability and Software Development
    Home  >  MQL Functions
CSV

CSV parser.

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") {<br><br> log trace [T_A];<br><br>}
mentdb
    Home  >  MQL Functions
MentDB © 2012 - 2019