gitdagray / csv-to-sql-insert

Provide table data as a CSV (comma-separated values) file and output a SQL insert statement for a table with the same name as the file.
MIT License
99 stars 120 forks source link

createIfNot function results in a bug #61

Open therollingambit opened 9 months ago

therollingambit commented 9 months ago

When sql file is deleted from sql directory, script errors out and creates wrong folder instead of generating a new sql file wilth the csv file name

Screenshot 2023-12-24 at 9 29 17 PM Screenshot 2023-12-24 at 9 30 36 PM