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
97 stars 122 forks source link

Code duplication #22

Open kingmathers92 opened 10 months ago

kingmathers92 commented 10 months ago

Issue #19

Eliminated code duplication. The logic for constructing the SQL statement is encapsulated in the constructSQLStatement function, reducing code duplication and making your code more modular.

kingmathers92 commented 10 months ago

Sorry about the unstashedcommits 🤦‍♂️