csv-to-sql-insert icon indicating copy to clipboard operation
csv-to-sql-insert copied to clipboard

improvement for readCSV file and code refactoring

Open Virous77 opened this issue 1 year ago • 2 comments

  1. Used fs/promises for promise-based file operations.
  2. Improved the construction of the beginSQLInsert statement.
  3. Extracted the validation logic into a separate function (validateRow).
  4. Refactored file existence check into a separate function.
  5. Added .nvmrc file

Virous77 avatar Dec 23 '23 09:12 Virous77

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🙂

servesh-chaturvedi avatar Dec 23 '23 15:12 servesh-chaturvedi

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:)

Virous77 avatar Dec 23 '23 15:12 Virous77