- You should prepare a .csv file
- It's to mysql
- The first row isn't column defined. It means all rows which should be data.
$ npm install
$ npm run demo
{
columnArray: [] # Insert SQL Column
csvHeader: {} # Column Defined
inputFileName: "xxx.csv"
tableName: "`table`" or "`database`.`table`"
outputFileName: "xxx"
initRowData: function() {
return {
}
}
}
$ npm install
$ npm start