View Source API Reference Csv2sql v1.0.0

Modules

Main application module for csv2sql

Configuration struct defination for csv2sql

Prepares and loads configurations for csv2sql

Database specific functions

Tests the connection to the database

MySQL specific functions

Postgres specific functions

TODO: Write a nice doc explaining this module

A file struct that contains information about a csv file

Common Helper functions

Validates import by comparing row count in csv vs row count in database

MySQL specific Repo definition

Postgres specific Repo definition

This module is responsible for tracking the progress of the operations on different csv files. The various processes working on the csv files can update the progress tracker with the status of the file.

Progress tracker state struct defination for csv2sql

Deduces column types of a given csv file

Type checkers to infer data type of a database column using its preivous inferred type and current item type

Common typespecs type definations