csv-to-sql-insert
csv-to-sql-insert copied to clipboard
improvement for readCSV file and code refactoring
- Used fs/promises for promise-based file operations.
- Improved the construction of the beginSQLInsert statement.
- Extracted the validation logic into a separate function (validateRow).
- Refactored file existence check into a separate function.
- Added .nvmrc file
Hey could you modify your vscode settings so that no unnecessary settings like single quotes to double or tab spaces appear? That ways, it is helpful to check exact changes🙂
Hey could you modify your vscode settings so that no unnecessary settings like single quotes to double or tab spaces appear? That ways, it is helpful to check exact changes🙂
sure will look into that:)