This repo to semi-automate converting any csv file to sql file
- Add the csv file into repo
- Change
csvFileName
varibale with the csv file name. - Change database credentials
host
,user
,password
anddbname
- Update
updateQueryTemplate
and Query logic section with what you want. - Run the command
$ make run
- The file
queries.sql
has been created with all query that you what.